We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b904f22 commit 5c38b82Copy full SHA for 5c38b82
1 file changed
.github/workflows/publish.yml
@@ -8,7 +8,6 @@ on:
8
jobs:
9
build-and-push:
10
runs-on: ubuntu-latest
11
-
12
permissions:
13
contents: read
14
packages: write
@@ -17,8 +16,18 @@ jobs:
17
16
- name: Checkout repository
18
uses: actions/checkout@v4
19
+ - name: Set up QEMU emulation
20
+ uses: docker/setup-qemu-action@v2
21
+ with:
22
+ platforms: linux/amd64,linux/arm64
23
+
24
- name: Set up Docker Buildx
25
uses: docker/setup-buildx-action@v3
26
27
+ install: true
28
29
+ - name: Inspect and bootstrap builder
30
+ run: docker buildx inspect --bootstrap
31
32
- name: Log in to GitHub Container Registry
33
uses: docker/login-action@v3
@@ -34,3 +43,5 @@ jobs:
34
43
push: true
35
44
tags: ghcr.io/${{ github.repository_owner }}/sort_algorithms:latest
36
45
platforms: linux/amd64,linux/arm64
46
+ build-args: |
47
+ MAKEFLAGS=-j$(nproc) V=1
0 commit comments