Skip to content

Commit

Permalink
add report build info report for image_one.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Apr 24, 2024
1 parent db70220 commit b93f67f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/image_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,16 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: ${{ inputs.build_args }}

- name: Report build information
run: |
echo -e "### Inputs\n" >> $GITHUB_STEP_SUMMARY
echo -e "dockerfile_name: \`${{ inputs.dockerfile_name }}\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "build_args: \`${{ inputs.build_args }}\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "base_target_tags: \`${{ inputs.base_target_tags }}\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "image_name: \`${{ inputs.image_name }}\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "### Image tags\n" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "${{ steps.meta.outputs.tags }}" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit b93f67f

Please sign in to comment.