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 }}