Skip to content

Commit

Permalink
Fix docker image tags for iroha1-main branch
Browse files Browse the repository at this point in the history
Signed-off-by: safinsaf <[email protected]>
  • Loading branch information
safinsaf committed Apr 17, 2024
1 parent 8d5c638 commit 5e68009
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/build-iroha1.src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-iroha1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5e68009

Please sign in to comment.