Skip to content

Commit 2790ca8

Browse files
authored
Merge pull request #1070 from opencrvs/disable-arm-on-tag
fix: Disable build arm images on tag
2 parents 55a7a8d + c1fca8f commit 2790ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-to-dockerhub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
runner: ${{
30-
((github.ref_type == 'tag' || inputs.build_arm == true) && fromJSON('["ubuntu-24.04", "ubuntu-24.04-arm"]')) ||
30+
(inputs.build_arm == true && fromJSON('["ubuntu-24.04", "ubuntu-24.04-arm"]')) ||
3131
fromJSON('["ubuntu-24.04"]')
3232
}}
3333
outputs:
@@ -90,7 +90,7 @@ jobs:
9090
- name: Create and push multi-arch manifest
9191
env:
9292
BRANCH_NAME: ${{ inputs.branch_name || github.ref_name }}
93-
BUILD_ARM: ${{ github.ref_type == 'tag' || inputs.build_arm == true }}
93+
BUILD_ARM: ${{ inputs.build_arm == true }}
9494
run: |
9595
TAG="${{ needs.build.outputs.version_common }}"
9696
REPO="${{ secrets.DOCKERHUB_ACCOUNT}}/${{ secrets.DOCKERHUB_REPO }}"

0 commit comments

Comments
 (0)