Skip to content

Commit

Permalink
Open Docker as Root
Browse files Browse the repository at this point in the history
  • Loading branch information
gmitch215 committed Jul 25, 2024
1 parent 241c80c commit 321685b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: jenkins/jenkins:lts
options: -v ${{ github.workspace }}:/work
options: -v ${{ github.workspace }}:/work -u root
shell: bash
run: |
cd work
chmod +x ./gradlew
sudo ./gradlew test
./gradlew test
# Test Nexus Server
test-nexus:
Expand All @@ -166,9 +166,9 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: sonatype/nexus3
options: -v ${{ github.workspace }}:/work
options: -v ${{ github.workspace }}:/work -u root
shell: bash
run: |
cd work
chmod +x ./gradlew
sudo ./gradlew test
./gradlew test

0 comments on commit 321685b

Please sign in to comment.