From c056993add07a1b466bc833e8f75f0ec99bc6485 Mon Sep 17 00:00:00 2001 From: Topvennie Date: Mon, 26 Aug 2024 22:13:40 +0200 Subject: [PATCH] zess: test out push --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f463cd7..f2c97c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,6 @@ jobs: runs-on: ubuntu-latest permissions: - contents: read packages: write steps: @@ -32,9 +31,7 @@ jobs: - name: Build Docker image run: | docker build . -t ghcr.io/zeuswpi/zess:pr-${{ github.sha }} - if [ "${{ github.event_name }}" == "push" ]; then - docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest - fi + docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest - name: Push Docker image if: github.event_name == 'push'