From e020c368b68a3d072cc27ea8e2a79e84c88c2724 Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Fri, 11 Aug 2023 09:45:25 -0700 Subject: [PATCH] [CI] Print builds and tools job inputs --- .github/workflows/builds.yml | 6 ++++++ .github/workflows/tools.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 94120bdf62c..09851a53f7f 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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 github-actions@dl-flow.iam.gserviceaccount.com - name: Docker login diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index 9f228f215ba..47ddaf519e1 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -18,6 +18,8 @@ jobs: name: Build boot tools runs-on: ubuntu-latest steps: + - name: Print all input variables + run: echo '${{ toJson(inputs) }}' | jq - id: auth uses: google-github-actions/auth@v1 with: