Skip to content

Commit

Permalink
Build both amd64 and arm64 docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
MasWag committed May 29, 2024
1 parent 3f83cfb commit 5c46d52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

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

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

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
Expand All @@ -29,6 +35,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: ./docker
platforms: linux/amd64,linux/arm64
push: true
tags: maswag/monaa:latest
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 5c46d52

Please sign in to comment.