From 321685bb04e510b16a0ffcfc9ca07cb400bbd7f8 Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+gmitch215@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:38:49 -0400 Subject: [PATCH] Open Docker as Root --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4a7b80..64cf6c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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 \ No newline at end of file + ./gradlew test \ No newline at end of file