From 5e680093869a1b41dadd7ff06fd77ef64873de6b Mon Sep 17 00:00:00 2001 From: safinsaf Date: Wed, 17 Apr 2024 14:15:00 +0300 Subject: [PATCH] Fix docker image tags for iroha1-main branch Signed-off-by: safinsaf --- .github/build-iroha1.src.yml | 1 + .github/workflows/build-iroha1.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/build-iroha1.src.yml b/.github/build-iroha1.src.yml index 00ec6bfcecc..3a89bda088b 100644 --- a/.github/build-iroha1.src.yml +++ b/.github/build-iroha1.src.yml @@ -860,6 +860,7 @@ jobs: images: | ${{ env.DOCKERHUB_ORG }}/${{ env.IMAGE_NAME }}${{ env._uses_suffix }} tags: | + type=raw,value=main,enable=${{ github.ref == format('refs/heads/{0}', 'iroha1-main') }} type=ref,event=branch type=ref,event=pr type=ref,event=tag diff --git a/.github/workflows/build-iroha1.yml b/.github/workflows/build-iroha1.yml index 8b20b419c66..14d061f78e9 100644 --- a/.github/workflows/build-iroha1.yml +++ b/.github/workflows/build-iroha1.yml @@ -1567,6 +1567,7 @@ jobs: images: | ${{ env.DOCKERHUB_ORG }}/${{ env.IMAGE_NAME }}${{ env._uses_suffix }} tags: | + type=raw,value=main,enable=${{ github.ref == format('refs/heads/{0}', 'iroha1-main') }} type=ref,event=branch type=ref,event=pr type=ref,event=tag @@ -1579,6 +1580,7 @@ jobs: id: meta_ghcr with: tags: | + type=raw,value=main,enable=${{ github.ref == format('refs/heads/{0}', 'iroha1-main') }} type=ref,event=branch type=ref,event=pr type=ref,event=tag @@ -1743,6 +1745,7 @@ jobs: images: | ${{ env.DOCKERHUB_ORG }}/${{ env.IMAGE_NAME }}${{ env._uses_suffix }} tags: | + type=raw,value=main,enable=${{ github.ref == format('refs/heads/{0}', 'iroha1-main') }} type=ref,event=branch type=ref,event=pr type=ref,event=tag @@ -1755,6 +1758,7 @@ jobs: id: meta_ghcr with: tags: | + type=raw,value=main,enable=${{ github.ref == format('refs/heads/{0}', 'iroha1-main') }} type=ref,event=branch type=ref,event=pr type=ref,event=tag