Skip to content

Instantly share code, notes, and snippets.

@Muazzeem
Created March 2, 2023 15:43
Show Gist options
  • Save Muazzeem/0522b1e57400de46c60c092bb371365f to your computer and use it in GitHub Desktop.
Save Muazzeem/0522b1e57400de46c60c092bb371365f to your computer and use it in GitHub Desktop.
Build docker image on arm64 platform
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v1
- uses: mr-smithers-excellent/docker-build-push@v5
with:
image: flask_docker
registry: 940443069190.dkr.ecr.ap-southeast-1.amazonaws.com
tags: ${{ github.sha }}
platform: linux/arm64/v8
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment