Skip to content

Commit

Permalink
Update base-docker-image build.yml to support multiple architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Sep 1, 2023
1 parent 36a897f commit 900f999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
# NOTE: These versions must be kept in sync with the release.yml
version: ["14.21.3", "16.20.0", "18.16.0"]
platform: ["linux/amd64","linux/arm64"]
runs-on: ubuntu-latest
steps:
-
Expand All @@ -32,6 +33,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: ${{ matrix.platform }}
build-args: "NODE_VERSION=${{ matrix.version }}"
pull: true
file: ./Dockerfile
Expand All @@ -41,6 +43,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
platforms: ${{ matrix.platform }}
build-args: "NODE_VERSION=${{ matrix.version }}"
pull: true
file: ./Dockerfile.core
Expand Down

0 comments on commit 900f999

Please sign in to comment.