-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (26 loc) · 870 Bytes
/
build.yml
File metadata and controls
29 lines (26 loc) · 870 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
name: Build docker image
permissions:
contents: read
on: [push]
jobs:
build-action:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# The docker official image only has amd64 and arm64/v8
platform: ["linux/amd64"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
# 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: make docker-build
env:
DOCKER_BUILDKIT: 1
PLATFORM: ${{ matrix.platform }}