Skip to content

Commit e1e92b5

Browse files
authored
Add support for multiple platforms in image build
1 parent b57c3c5 commit e1e92b5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
builder: ${{ steps.buildx.outputs.name }}
6060
context: ./
6161
file: ./Dockerfile
62-
platforms: linux/amd64
62+
platforms: linux/amd64,linux/arm64
6363
push: true
6464
tags: ${{ steps.meta.outputs.tags }}
6565
labels: ${{ steps.meta.outputs.labels }}
@@ -74,9 +74,9 @@ jobs:
7474
builder: ${{ steps.buildx.outputs.name }}
7575
context: ./
7676
file: ./Dockerfile
77-
platforms: linux/amd64
77+
platforms: linux/amd64,linux/arm64
7878
tags: ${{ steps.meta.outputs.tags }}
7979
labels: ${{ steps.meta.outputs.labels }}
8080
build-args: |
8181
PROJECT_NAME=${{ matrix.project }}
82-
cache-from: type=gha,scope=${{ matrix.project }}-ci-image-main
82+
cache-from: type=gha,scope=${{ matrix.project }}-ci-image-main

0 commit comments

Comments
 (0)