Workflow improvements #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docker image | |
on: [push] | |
jobs: | |
build-action: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 2 | |
matrix: | |
# Not all for time waste reasons | |
platform: ["linux/arm64", "linux/amd64"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# https://github.com/docker/setup-qemu-action | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
# https://github.com/docker/setup-buildx-action | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build action image | |
run: PLATFORM="${{ matrix.platform }}" make docker-build | |
env: | |
DOCKER_BUILDKIT: 1 |