-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6ace6f
commit 9d17d21
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,17 +196,29 @@ jobs: | |
|
||
# Output | ||
|
||
The build will return image digests as output. | ||
Return an image digest as output. This applies to builds or retagged images. | ||
|
||
```yaml | ||
- id: meaningful_id_name | ||
uses: bcgov-nr/[email protected] | ||
... | ||
- id: deploy_with_digest | ||
name: Deploy with digest | ||
with: | ||
digest: ${{ steps.meaningful_id_name.outputs.digest }} | ||
- name: Echo digest | ||
run: | | ||
echo "Image digest: ${{ steps.meaningful_id_name.outputs.digest }}" | ||
... | ||
``` | ||
|
||
Has an image been built? [true|false] | ||
|
||
```yaml | ||
- id: meaningful_id_name | ||
uses: bcgov-nr/[email protected] | ||
... | ||
- name: Echo build trigger | ||
run: | | ||
echo "Trigger result: ${{ steps.meaningful_id_name.outputs.triggered }}" | ||
... | ||
``` | ||
|
||
|