Skip to content

Commit

Permalink
PF-1389 Print input summary
Browse files Browse the repository at this point in the history
  • Loading branch information
kiversen committed Sep 30, 2024
1 parent d0cf0d0 commit b122c46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-docker-build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
contents: read

steps:
- name: "Write inputs to summary"
uses: felleslosninger/github-actions/json-to-summary@bb702913dc7fc7ba16f6a2ce32624ba9eaf54262 # [email protected]
with:
json: ${{ toJson(github) }}
title: "GitHub Context"

- name: Set image tag
id: set-image-tag
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci-quarkus-build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
contents: read

steps:
- name: "Write inputs to summary"
uses: felleslosninger/github-actions/json-to-summary@bb702913dc7fc7ba16f6a2ce32624ba9eaf54262 # [email protected]
with:
json: ${{ toJson(github) }}
title: "GitHub Context"

- name: Set imagetag as env variable
run: echo "IMAGETAG=$(date +'%Y-%m-%d-%H%M')-${GITHUB_SHA::8}" >> "$GITHUB_ENV"

Expand Down

0 comments on commit b122c46

Please sign in to comment.