From 5c46d522dcc68bd8df8d586c34570dbfbb1dd824 Mon Sep 17 00:00:00 2001 From: Masaki Waga Date: Wed, 29 May 2024 12:09:20 +0900 Subject: [PATCH] Build both amd64 and arm64 docker images --- .github/workflows/dockerhub.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index a12abd6..6a6bcf2 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -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 @@ -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 }}