-
Notifications
You must be signed in to change notification settings - Fork 176
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 #4617 from onflow/petera/gha-tools-print-inputs
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 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 |
---|---|---|
|
@@ -51,6 +51,9 @@ jobs: | |
outputs: | ||
matrix: ${{ steps.generate.outputs.matrix }} | ||
steps: | ||
- name: Print all input variables | ||
run: echo '${{ toJson(inputs) }}' | jq | ||
|
||
- id: generate | ||
run: | | ||
roles=() | ||
|
@@ -74,6 +77,7 @@ jobs: | |
fi | ||
rolesJSON=$(jq --compact-output --null-input '$ARGS.positional' --args -- "${roles[@]}") | ||
echo "matrix={\"role\":$(echo $rolesJSON)}" >> $GITHUB_OUTPUT | ||
docker-push: | ||
name: ${{ matrix.role }} images | ||
runs-on: ubuntu-latest | ||
|
@@ -89,10 +93,12 @@ jobs: | |
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.19' | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ inputs.tag }} | ||
|
||
# Provide Google Service Account credentials to Github Action, allowing interaction with the Google Container Registry | ||
# Logging in as [email protected] | ||
- name: Docker login | ||
|
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