Skip to content

Commit 26ed137

Browse files
committed
fix(bake): add output to pull request
1 parent 05f966e commit 26ed137

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
version:
1414
description: 'Detected or calculated version'
1515
value: ${{ jobs.prepare.outputs.version }}
16+
image-digests:
17+
description: 'JSON with all merged image manifest digests'
18+
value: ${{ jobs.merge.outputs.image-digests }}
1619
inputs:
1720
version-previous:
1821
description: 'The strategy to detect the previous version: auto, from-tag, from-file or manual'
@@ -1136,13 +1139,16 @@ jobs:
11361139
- image-build
11371140
if: ${{ !failure() && !cancelled() }}
11381141
runs-on: ${{ inputs.runner-default }}
1142+
outputs:
1143+
image-digests: ${{ steps.merge.outputs.image-digests }}
11391144
steps:
11401145
- name: Download updated source
11411146
uses: eviden-actions/download-artifact@v2
11421147
with:
11431148
name: ${{ inputs.source-artifact-name }}
11441149

11451150
- uses: getdevopspro/github-actions/buildx-bake/merge@v4.0.5
1151+
id: merge
11461152
with:
11471153
registry-username: ${{ inputs.registry-username }}
11481154
registry-password: ${{ secrets.registry-password || secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)