Skip to content

Commit b1e5793

Browse files
committed
ci: force image architecture (amd64/arm64)
1 parent 7622112 commit b1e5793

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

.github/actions/docker-tags-merge/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ runs:
2727
# Pull the images locally for the two platforms: amd64 and arm64
2828
- name: Pull ${{ inputs.image }} image for ${{ inputs.platform_amd64 }} platform ⬇️
2929
run: |
30-
docker pull ${{ inputs.registry }}/$OWNER/${{ inputs.image }}-${{ inputs.platform_amd64 }}
30+
docker pull --platform=linux/${{ inputs.platform_amd64 }} ${{ inputs.registry }}/$OWNER/${{ inputs.image }}-${{ inputs.platform_amd64 }}
3131
shell: bash
3232

3333
- name: Pull ${{ inputs.image }} image for ${{ inputs.platform_arm64 }} platform ⬇️
3434
run: |
35-
docker pull ${{ inputs.registry }}/$OWNER/${{ inputs.image }}-${{ inputs.platform_arm64 }}
35+
docker pull --platform=linux/${{ inputs.platform_arm64 }} ${{ inputs.registry }}/$OWNER/${{ inputs.image }}-${{ inputs.platform_arm64 }}
3636
shell: bash
3737

38+
# Apply tags
3839
- name: Apply tags to ${{ inputs.image }} image and platform ${{ inputs.platform_amd64 }} 🏷
3940
run: |
4041
python3 -m okdp.extension.tagging.apply_tags --image-name ${{ inputs.image }} \

.github/actions/setup-buildx/action.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)