@@ -57,31 +57,42 @@ jobs:
57
57
# VERSIONS
58
58
name :${{ matrix.name }}
59
59
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
64
72
if :github.event_name != 'pull_request'
65
73
with :
66
74
registry :ghcr.io
67
75
username :rust-lang
68
76
password :${{ secrets.GITHUB_TOKEN }}
69
77
70
- -uses :docker/login-action@v3
78
+ -name :Login to Docker Hub
79
+ uses :docker/login-action@v3
71
80
if :github.event_name != 'pull_request'
72
81
with :
73
82
username :rustopsbot
74
83
password :${{ secrets.DOCKER_HUB_TOKEN }}
75
84
76
- -id :meta
85
+ -name :Docker Metadata
86
+ id :meta
77
87
uses :docker/metadata-action@v5
78
88
with :
79
89
images :|
80
90
rustlang/rust
81
91
ghcr.io/rust-lang/rust
82
92
tags :${{ matrix.tags }}
83
93
84
- -uses :docker/build-push-action@v5
94
+ -name :Build and push image
95
+ uses :docker/build-push-action@v5
85
96
with :
86
97
context :${{ matrix.context }}
87
98
platforms :${{ matrix.platforms }}