Skip to content

Commit

Permalink
Try to set the user through an option
Browse files Browse the repository at this point in the history
At this point I wish debugging GitHub Actions wasn't such a total pain.
  • Loading branch information
yorickpeterse committed Oct 30, 2023
1 parent 725b2a5 commit 198a013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/inko-lang/aur:main
options: --user build
steps:
- uses: actions/checkout@v4
- name: Running tests
Expand All @@ -25,6 +26,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/inko-lang/aur:main
options: --user build
permissions:
contents: write
steps:
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ RUN pacman -Syu --noconfirm --noprogress pacman-contrib base-devel bash git \

RUN useradd --no-create-home build \
&& echo 'build ALL=(ALL:ALL) ALL' > /etc/sudoers.d/build

USER build

0 comments on commit 198a013

Please sign in to comment.