Skip to content

Commit

Permalink
Add ado result as output
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMalachowski committed May 28, 2024
1 parent 7cc8a44 commit 5d18d6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ on:
images:
description: JSON list of images built by image-builder
value: ${{ jobs.build.outputs.images }}
adoResult:
description: The result of the ADO pipeline execution
value: ${{ jobs.build.outputs.result }}

jobs:
build:
Expand All @@ -53,6 +56,7 @@ jobs:
outputs:
token: ${{ steps.get_oidc.outputs.jwt }}
images: ${{ steps.build.outputs.images }}
result: ${{ steps.build.outputs.adoResult }}
steps:
- name: Checkout repository based on test flag
uses: actions/checkout@v4
Expand Down

0 comments on commit 5d18d6d

Please sign in to comment.