Skip to content

Commit

Permalink
more magic in the buildfile
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
jflo committed Jan 24, 2024
1 parent e34bd4a commit b60b1d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: build image
uses: gradle/[email protected]
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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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 }}

0 comments on commit b60b1d7

Please sign in to comment.