From f2ca6cfe511984311fcb7204474d64029a91deaf Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Fri, 4 Oct 2024 00:31:31 -0700 Subject: [PATCH] Raw tags ref changed --- .github/workflows/reusable_image_build_push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable_image_build_push.yml b/.github/workflows/reusable_image_build_push.yml index 8c00f1177..1a1e65c66 100644 --- a/.github/workflows/reusable_image_build_push.yml +++ b/.github/workflows/reusable_image_build_push.yml @@ -101,7 +101,8 @@ jobs: # type=ref,event=tag # type=semver,pattern=v{{version}} # type=semver,pattern=v{{version}},value=${{ steps.fetch-latest-release-tags.outputs.tag_name }} - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', inputs.branch ) }} + # type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', inputs.branch ) }} + type=raw,value=latest,enable=${{ github.ref == format('refs/tags/{0}', steps.fetch-latest-release-tags.outputs.tag_name ) }} - name: Login to DockerHub # if: github.event_name != 'pull_request'