From 02b9b119d0b5df02ee1f7a18d925055733077214 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Silva Date: Fri, 16 Feb 2024 17:25:33 +0000 Subject: [PATCH] Fixed bug in github workflow file --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d654ccfd..df92c4f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,8 +9,8 @@ on: - cron: "30 12 * * *" # runs everyday at 12h30 env: - PUBLISH_IMAGE: ${{ (github.ref == 'main' || github.ref_type == 'tag') && 'TRUE' || 'FALSE'}} - IMAGE_TAG: ${{ github.ref == 'main' && 'latest' || github.ref_name }} + PUBLISH_IMAGE: ${{ (github.ref_name == 'main' || github.ref_type == 'tag') && 'TRUE' || 'FALSE'}} + IMAGE_TAG: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }} IMAGE_NAME: ghcr.io/${{ github.repository }}/arpav-ppcv-backend jobs: