Skip to content

Commit

Permalink
ci: build Docker image for arm64 to support Mac M1 chips (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
bengesoff authored Apr 28, 2022
1 parent b631b7d commit 32beb5b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,19 @@ jobs:
with:
string: ${{ github.repository_owner }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and push new docker image
uses: docker/build-push-action@v2
with:
push: true
context: ./src
file: ./src/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ steps.repository_owner.outputs.lowercase }}/oidc-server-mock:latest
ghcr.io/${{ steps.repository_owner.outputs.lowercase }}/oidc-server-mock:${{ steps.get_version.outputs.version-without-v }}
Expand Down

0 comments on commit 32beb5b

Please sign in to comment.