From 5502acc8455aa445d342f445ae296a480ef31206 Mon Sep 17 00:00:00 2001 From: meghaniankov Date: Fri, 2 Feb 2024 11:24:21 +0000 Subject: [PATCH 1/2] add prefix v to images pushed to quay in gha --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index e9bac1d..cb1f515 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -47,7 +47,7 @@ jobs: images: quay.io/uswitch/yggdrasil tags: | type=semver,pattern={{version}} - type=sha,prefix=,format=long, + type=sha,prefix=v,format=long, - uses: docker/build-push-action@v5 with: context: . From 0c0577f2d5f388c3043d1a9ff4960ce350b6dc8a Mon Sep 17 00:00:00 2001 From: meghaniankov Date: Fri, 2 Feb 2024 11:35:50 +0000 Subject: [PATCH 2/2] change tag pattern to raw to use exact tag created --- .github/workflows/push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index cb1f515..4b4e37c 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -46,8 +46,8 @@ jobs: with: images: quay.io/uswitch/yggdrasil tags: | - type=semver,pattern={{version}} - type=sha,prefix=v,format=long, + type=semver,pattern={{raw}} + type=sha,prefix=,format=long, - uses: docker/build-push-action@v5 with: context: .