File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
.github/actions/build-docker-image Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 25
25
echo "🏗️ Building Docker image for PR #${PR_NUMBER} (commit ${{ inputs.commit }})..."
26
26
27
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
28
30
echo "✅ Docker image build successful for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
29
31
else
30
32
echo "❌ Docker image build failed for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
31
33
exit 1
32
34
fi
35
+
36
+ outputs :
37
+ image_tag :
38
+ description : ' The tag of the built Docker image'
39
+ value : ${{ steps.build.outputs.image_tag }}
You can’t perform that action at this time.
0 commit comments