From 65bf63022d1f22ad94db3e2523570e442549f1fb Mon Sep 17 00:00:00 2001 From: Topvennie Date: Mon, 26 Aug 2024 22:16:56 +0200 Subject: [PATCH] zess: for real test out push --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2c97c8..8dd7a00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,8 +31,9 @@ jobs: - name: Build Docker image run: | docker build . -t ghcr.io/zeuswpi/zess:pr-${{ github.sha }} - docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest + if [ "${{ github.event_name }}" == "push" ]; then + docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest + fi - name: Push Docker image - if: github.event_name == 'push' run: docker push --all-tags ghcr.io/zeuswpi/zess