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 2525 echo "🏗️ Building Docker image for PR #${PR_NUMBER} (commit ${{ inputs.commit }})..."
2626
2727 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
2830 echo "✅ Docker image build successful for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
2931 else
3032 echo "❌ Docker image build failed for PR #${PR_NUMBER} (commit ${{ inputs.commit }})"
3133 exit 1
3234 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