Skip to content

Commit d4e4edd

Browse files
authored
Update release.yml
1 parent 3d32631 commit d4e4edd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,7 @@ jobs:
109109
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/0.') }}
110110
111111
- name: Set up QEMU
112-
run: |
113-
docker run --privileged --rm -i registry.fedoraproject.org/fedora-minimal <<'EOF'
114-
set -e
115-
microdnf install --assumeyes --nodocs --setopt=install_weak_deps=False qemu-user-static systemd-udev
116-
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
117-
/usr/lib/systemd/systemd-binfmt --unregister
118-
/usr/lib/systemd/systemd-binfmt
119-
EOF
112+
run: docker run --privileged --rm registry.fedoraproject.org/fedora-minimal /bin/sh -c "microdnf install --assumeyes --nodocs --setopt=install_weak_deps=False qemu-user-static systemd-udev && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && /usr/lib/systemd/systemd-binfmt --unregister && /usr/lib/systemd/systemd-binfmt"
120113

121114
- name: Set up Docker Buildx
122115
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)