Skip to content

Commit

Permalink
Merge pull request #38 from jflo/gha_permmissioned
Browse files Browse the repository at this point in the history
more magic in the buildfile
  • Loading branch information
jflo authored Jan 24, 2024
2 parents 74f15ab + 7313206 commit fb39a0f
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 fb39a0f

Please sign in to comment.