From 92c6bd62ec4eaf07f76a476b86c64a38446c5fd3 Mon Sep 17 00:00:00 2001 From: safinsaf <45899673+safinsaf@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:51:33 +0300 Subject: [PATCH] Feature/sup 10039/update branch ci (#4458) * Prepare updates for iroha1 CI new main branch Signed-off-by: safinsaf * Try fix iroha1 main tag Signed-off-by: safinsaf * Fix docker image tags for iroha1-main branch Signed-off-by: safinsaf --------- 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