From f87a0caaa6b746fbed6199f81375edd7f3df31d0 Mon Sep 17 00:00:00 2001 From: Donavan Fritz Date: Thu, 8 Feb 2024 18:18:54 -0800 Subject: [PATCH] testing ci/ci --- .gitea/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 5150448..1f642df 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -20,7 +20,7 @@ jobs: run: | docker push $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} - name: Tag and push Docker image as latest if on master branch - if: $GITHUB_REF == 'refs/heads/main' + if: ${{ github.ref }} == 'refs/heads/main' run: | docker tag $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} $CONTAINER_NAME:latest docker push $CONTAINER_NAME:latest