Skip to content

Commit eb46e35

Browse files
authored
Update publish.yml
1 parent 5c38b82 commit eb46e35

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Push Multiarch Docker image to GHCR
1+
name: Build and Push Docker image to GHCR
22

33
on:
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

0 commit comments

Comments
 (0)