Skip to content

Commit

Permalink
AAE-26244 Output from other ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-piotrowiak committed Nov 8, 2024
1 parent 34b9e30 commit 3d903f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/actions/docker-build-and-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ inputs:
description: The label name for creating a preview version
required: false
default: 'preview'

outputs:
ecr-docker-image-url:
description: The ECR docker image URL
value: ${{ steps.set-ecr-docker-image-url.outputs.ecr-docker-image-url }}
runs:
using: composite
steps:
Expand Down Expand Up @@ -240,3 +243,9 @@ runs:
echo "${{ steps.login-ecr.outputs.registry }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}"
echo "\`\`\`\`"
} >> $GITHUB_STEP_SUMMARY
- name: set ecr-docker-image-url
id: set-ecr-docker-image-url
if: env.PUSH_IMAGE == 'true'
shell: bash
run: echo "ecr-docker-image-url=${{ steps.login-ecr.outputs.registry }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}" >> $GITHUB_OUTPUT

0 comments on commit 3d903f7

Please sign in to comment.