Skip to content

Commit 0ecebbe

Browse files
authored
Merge pull request #226 from Muscraft/fix-ci
Temporary workaround for ARM builds
2 parents 6efac65 + c4001ec commit 0ecebbe

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/nightly.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -57,31 +57,42 @@ jobs:
5757
#VERSIONS
5858
name: ${{ matrix.name }}
5959
steps:
60-
- uses: actions/checkout@v4
61-
- uses: docker/setup-qemu-action@v3
62-
- uses: docker/setup-buildx-action@v3
63-
- uses: docker/login-action@v3
60+
- name: Checkout repository
61+
uses: actions/checkout@v4
62+
- name: Set up QEMU
63+
uses: docker/setup-qemu-action@v3
64+
# Temporary workaround for ARM builds
65+
# https://github.com/docker/setup-qemu-action/issues/198
66+
with:
67+
image: tonistiigi/binfmt:qemu-v7.0.0-28
68+
- name: Set up Docker Buildx
69+
uses: docker/setup-buildx-action@v3
70+
- name: Login to GHCR
71+
uses: docker/login-action@v3
6472
if: github.event_name != 'pull_request'
6573
with:
6674
registry: ghcr.io
6775
username: rust-lang
6876
password: ${{ secrets.GITHUB_TOKEN }}
6977

70-
- uses: docker/login-action@v3
78+
- name: Login to Docker Hub
79+
uses: docker/login-action@v3
7180
if: github.event_name != 'pull_request'
7281
with:
7382
username: rustopsbot
7483
password: ${{ secrets.DOCKER_HUB_TOKEN }}
7584

76-
- id: meta
85+
- name: Docker Metadata
86+
id: meta
7787
uses: docker/metadata-action@v5
7888
with:
7989
images: |
8090
rustlang/rust
8191
ghcr.io/rust-lang/rust
8292
tags: ${{ matrix.tags }}
8393

84-
- uses: docker/build-push-action@v5
94+
- name: Build and push image
95+
uses: docker/build-push-action@v5
8596
with:
8697
context: ${{ matrix.context }}
8798
platforms: ${{ matrix.platforms }}

0 commit comments

Comments
 (0)