Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 5f48c6a

Browse files
committed
fix: no-op sudo
1 parent e074194 commit 5f48c6a

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,22 @@ jobs:
5959
id-token: write
6060

6161
steps:
62-
- name: Checkout
63-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
64-
65-
- name: Install Podman
62+
- name: Setup Container
6663
run: |
6764
dnf install -y \
65+
git \
6866
podman \
6967
skopeo
7068
69+
echo -e "#!/bin/bash\nexec \"\$@\"" > /usr/bin/sudo
70+
chmod +x /usr/bin/sudo
71+
72+
# Create a directory Rechunk expects
73+
mkdir -p /home/runner/work/main/main
74+
75+
- name: Checkout
76+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
77+
7178
- name: Setup Just
7279
uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2
7380

0 commit comments

Comments
 (0)