Skip to content

Commit 56b975c

Browse files
committed
add image output
Signed-off-by: Luke Roy <[email protected]>
1 parent a886177 commit 56b975c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

github-action-workflows/my-ce-app/build-push.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
uses: actions/checkout@v3
1414

1515
- name: Build and Push to ICR
16+
id: build-step
1617
uses: ibm/code-engine-github-action@v1
1718
with:
1819
api-key: ${{ secrets.IBM_IAM_API_KEY }}
@@ -22,4 +23,7 @@ jobs:
2223
name: 'my-ce-app'
2324
image: private.de.icr.io/my-namespace/my-image:latest
2425
registry-secret: ce-auto-icr-private-eu-de
25-
build-source: './my-ce-app'
26+
build-source: './my-ce-app'
27+
- name: Get image with digest
28+
run: |
29+
echo "Image with digest: ${{ steps.build-step.outputs.image-with-digest }}"

0 commit comments

Comments
 (0)