Skip to content

Commit

Permalink
add output to job
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssonw committed Feb 2, 2023
1 parent 5fdd0f0 commit 3bbe1bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/post-build-attest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
description: "Setting an image_url of the form registry/repository:tag or registry/repository@digest enables the binary attestation of that image."
required: true
type: string
outputs:
full_image_url:
description: The full image as used during attestation. Must be used during deployments of said image.
value: ${{ jobs.attest-kartverket-kontekst.outputs.full_image_url }}

env:
WORKLOAD_IDENTITY_PROVIDER_OVERRIDE: ${{ inputs.workload_identity_provider_override }}
Expand Down Expand Up @@ -49,6 +53,8 @@ jobs:
name: Image in context of kartverket
needs: [setup-env]
runs-on: ubuntu-latest
outputs:
full_image_url: ${{ steps.image-digest-url.outputs.image_url }}
defaults:
run:
shell: bash
Expand Down

0 comments on commit 3bbe1bd

Please sign in to comment.