Skip to content

Commit

Permalink
Attempt to use a matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jellybob committed Dec 11, 2023
1 parent 3318e89 commit e0a427b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ env:

jobs:
build:
strategy:
matrix:
platform: ["linux/amd64", "linux/arm64"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -38,4 +41,4 @@ jobs:
- name: Publish base image
run: docker push ghcr.io/emfcamp/website-base:latest
- name: Build base-dev image
run: docker buildx build -t ghcr.io/emfcamp/website-base-dev:latest -f ./docker/Dockerfile.base-dev --push --platform=linux/amd64,linux/arm64 .
run: docker buildx build -t ghcr.io/emfcamp/website-base-dev:latest -f ./docker/Dockerfile.base-dev --push --platform=${{ matrix.platform }} .

0 comments on commit e0a427b

Please sign in to comment.