Skip to content

Commit

Permalink
chore: updated docs for the new addition of returning image digests. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Oct 26, 2023
1 parent 6483d2e commit fe41d1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,17 @@ jobs:

# Output

If a build has been generated this action will output `true`.
The build will return image digests as output.

```yaml
- id: meaningful_id_name
uses: bcgov-nr/action-conditional-container-builder@v1.0.0
uses: bcgov-nr/action-conditional-container-builder@v2.0.0
...
- if: steps.meaningful_id_name.outputs.build == 'true'
- id: deploy_with_digest
name: Deploy with digest
with:
digest: ${{ steps.meaningful_id_name.outputs.digest }}
...
```

Expand Down

0 comments on commit fe41d1a

Please sign in to comment.