Skip to content

Commit

Permalink
fix: Add arm64 into build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aiakide committed Nov 6, 2023
1 parent 2c62edc commit c7530d7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: amd64
platforms: amd64,arm64

- name: Set up Docker Buildx
id: buildx
Expand All @@ -54,36 +54,36 @@ jobs:
with:
context: .
file: ./docker/jupyter/Dockerfile
tags: codecentric/from-jupyter-to-production-jupyter:latest
tags: codecentric/from-jupyter-to-production-jupyter:1.0.0
push: true
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
- name: Build and push dagster Docker image
id: docker_build_amd64_dagster
uses: docker/build-push-action@v2.4.0
with:
context: .
file: ./docker/dagster/Dockerfile
tags: codecentric/from-jupyter-to-production-dagster:latest
tags: codecentric/from-jupyter-to-production-dagster:1.0.0
push: true
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
- name: Build and push mlflow Docker image
id: docker_build_amd64_mlflow
uses: docker/build-push-action@v2.4.0
with:
context: .
file: ./docker/mlflow/Dockerfile
tags: codecentric/from-jupyter-to-production-mlflow:latest
tags: codecentric/from-jupyter-to-production-mlflow:1.0.0
push: true
builder: ${{ steps.buildx.outputs.name }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64
platforms: linux/amd64,linux/arm64

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit c7530d7

Please sign in to comment.