From b60b1d7c5b2e659b0a5f9536178e1b9a0b1ad445 Mon Sep 17 00:00:00 2001 From: Justin Florentine Date: Wed, 24 Jan 2024 15:43:13 -0500 Subject: [PATCH] more magic in the buildfile Signed-off-by: Justin Florentine --- .github/workflows/nightly.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3fcbb21cfd8..a923d67173a 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -71,7 +71,7 @@ jobs: - name: build image uses: gradle/gradle-build-action@v2.10.0 with: - arguments: distDocker -PdockerOrgName=${{ secrets.DOCKER_ORG }} -Pbranch=${{ github.ref_name }} + arguments: distDocker -PdockerOrgName=${{ github.repository_owner }} -Pbranch=${{ github.ref_name }} - name: install goss run: | mkdir -p docker/reports @@ -81,7 +81,7 @@ jobs: env: architecture: ${{ steps.prep.outputs.ARCH }} with: - arguments: testDocker -PdockerOrgName=${{ secrets.DOCKER_ORG }} -Pbranch=${{ github.ref_name }} + arguments: testDocker -PdockerOrgName=${{ github.repository_owner }} -Pbranch=${{ github.ref_name }} - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -91,7 +91,7 @@ jobs: - name: publish env: architecture: ${{ steps.prep.outputs.ARCH }} - run: ./gradlew --no-daemon dockerUpload -PdockerOrgName=${{ github.repository }} -Pbranch=${{ github.ref_name }} + run: ./gradlew --no-daemon dockerUpload -PdockerOrgName=${{ github.repository_owner }} -Pbranch=${{ github.ref_name }} multiArch: needs: buildDocker runs-on: ubuntu-22.04 @@ -112,5 +112,5 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: multi-arch docker - run: ./gradlew manifestDocker -PdockerOrgName=${{ github.repository }} -Pbranch=${{ github.ref_name }} + run: ./gradlew manifestDocker -PdockerOrgName=${{ github.repository_owner }} -Pbranch=${{ github.ref_name }}