forked from hyperledger/besu
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from jflo/gha_permmissioned
more magic in the buildfile
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|