We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c336d22 commit e25c140Copy full SHA for e25c140
1 file changed
.github/actions/build-docker-image/action.yml
@@ -25,8 +25,15 @@ runs:
25
echo "🏗️ Building Docker image for PR #${PR_NUMBER} (commit ${{ inputs.commit }})..."
26
27
if cpflow build-image -a "${{ inputs.app_name }}" --commit="${{ inputs.commit }}" --org="${{ inputs.org }}"; then
28
+ image_tag="${{ inputs.org }}/${{ inputs.app_name }}:${{ inputs.commit }}"
29
+ echo "image_tag=${image_tag}" >> $GITHUB_OUTPUT
30
echo "✅ Docker image build successful for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
31
else
32
echo "❌ Docker image build failed for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
33
exit 1
34
fi
35
+
36
+outputs:
37
+ image_tag:
38
+ description: 'The tag of the built Docker image'
39
+ value: ${{ steps.build.outputs.image_tag }}
0 commit comments