File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Push Multiarch Docker image to GHCR
1+ name : Build and Push Docker image to GHCR
22
33on :
44 push :
@@ -16,32 +16,17 @@ jobs:
1616 - name : Checkout repository
1717 uses : actions/checkout@v4
1818
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- with :
27- install : true
28-
29- - name : Inspect and bootstrap builder
30- run : docker buildx inspect --bootstrap
31-
3219 - name : Log in to GitHub Container Registry
3320 uses : docker/login-action@v3
3421 with :
3522 registry : ghcr.io
3623 username : ${{ github.actor }}
3724 password : ${{ secrets.GITHUB_TOKEN }}
3825
39- - name : Build and push Docker image (multiarch)
26+ - name : Build and push Docker image
4027 uses : docker/build-push-action@v5
4128 with :
4229 context : .
4330 push : true
4431 tags : ghcr.io/${{ github.repository_owner }}/sort_algorithms:latest
45- platforms : linux/amd64,linux/arm64
46- build-args : |
47- MAKEFLAGS=-j$(nproc) V=1
32+ platforms : linux/amd64
You can’t perform that action at this time.
0 commit comments