Skip to content

Commit

Permalink
fix: no-op sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 5, 2025
1 parent e074194 commit aac0e2f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,21 @@ jobs:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Install Podman
- name: Setup Container
run: |
dnf install -y \
git \
podman \
skopeo
echo -e "#!/bin/bash\nexec \"\$@\"" > /usr/bin/sudo
chmod +x /usr/bin/sudo
mkdir -p /home/runner/work/${{ github.repository_name }}/${{ github.repository_name }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Setup Just
uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2

Expand Down

0 comments on commit aac0e2f

Please sign in to comment.