-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (28 loc) · 982 Bytes
/
build.yml
File metadata and controls
31 lines (28 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build docker image
permissions:
contents: read
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"]
version-range: ["5.2", "6.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build action image
run: PLATFORM="${{ matrix.platform }}" make docker-build
env:
DOCKER_BUILDKIT: 1
VERSION_RANGE: "${{ matrix.version-range }}"