Skip to content

Commit

Permalink
set runner user to root
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Aug 22, 2024
1 parent 365fc11 commit f67e53f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
name: ${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }} ${{ matrix.arch.gox }}
runs-on: ubuntu-latest
# iterate over an assortment of popular distribution images from the docker.io/library of vetted images
container: ${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }}
container:
image: docker.io/library/${{ format('{0}:{1}', matrix.distro.name, matrix.distro.version) }}
options: --user 0:0
strategy:
matrix:
distro:
Expand Down Expand Up @@ -116,10 +118,10 @@ jobs:
ls -lR ./release/
case "${{ matrix.distro.type }}" in
rpm)
sudo yum install -y ./release/*.${{ matrix.distro.type }}
yum install -y ./release/*.${{ matrix.distro.type }}
;;
deb)
sudo apt install -y ./release/*.${{ matrix.distro.type }}
apt install -y ./release/*.${{ matrix.distro.type }}
;;
esac
Expand Down

0 comments on commit f67e53f

Please sign in to comment.