Skip to content

Commit

Permalink
feat: default platform to ARM (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeyheath authored Apr 23, 2024
1 parent 65e4ff5 commit 1ef30cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/argus-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- ${{ matrix.image.platform == 'linux/arm64' && 'ARM64' || 'X64' }}
- ${{ matrix.image.platform == 'linux/amd64' && 'X64' || 'ARM64' }}
env:
IMAGE_TAG: ${{ needs.prep.outputs.image-tag }}
if: needs.prep.outputs.image-tag != '' && needs.prep.outputs.image-tag != 'sha-' && needs.prep.outputs.images != '[]'
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
name: core-platform/${{ github.event.repository.name }}/${{ matrix.image.name }}
registry: 533267185808.dkr.ecr.us-west-2.amazonaws.com
custom_tag: ${{ env.IMAGE_TAG }}
platforms: ${{ matrix.image.platform }}
platforms: ${{ matrix.image.platform == 'linux/amd64' && 'linux/amd64' || 'linux/arm64' }}
build_args: IMAGE_TAG=${{ env.IMAGE_TAG }}

update-manifests:
Expand Down

0 comments on commit 1ef30cf

Please sign in to comment.