3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-24 18:39:40 +01:00

Dump contexts for testing purpose

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-11 22:24:25 +02:00
parent a1eb1729d4
commit 3f39bb96b5
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -38,6 +38,39 @@ jobs:
- -
name: Available platforms name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }} run: echo ${{ steps.buildx.outputs.platforms }}
-
name: Dump Env vars
run: env|sort
-
name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
-
name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
-
name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
-
name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
-
name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
-
name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"
install: install:
runs-on: ubuntu-latest runs-on: ubuntu-latest