Skip to content

Commit

Permalink
name, description and report format
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Apr 24, 2024
1 parent b93f67f commit 094519c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
base_image_tags:
description: |
List of image tags of the mcdreforged/mcdreforged image for the workflow to build as the base images, separated with ",".
For example: "1.2.3,1.2.3-slim,1.2.3-py3.11,1.2.3-py3.11-slim"
For example: "1.2.3,1.2.3-slim,1.2.3-py3.11,1.2.3-py3.11-slim", or just "dev"
type: string
required: true
repository_dispatch:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/image_one.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: step.image_one
name: __step.image_one

on:
workflow_call:
Expand Down Expand Up @@ -76,12 +76,13 @@ jobs:
- 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 "- dockerfile_name: \`${{ inputs.dockerfile_name }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "- build_args: \`${{ inputs.build_args }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "- base_target_tags: \`${{ inputs.base_target_tags }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "- image_name: \`${{ inputs.image_name }}\`" >> $GITHUB_STEP_SUMMARY
echo -e "" >> $GITHUB_STEP_SUMMARY
echo -e "### Image tags\n" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`\n" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo -e "${{ steps.meta.outputs.tags }}" >> $GITHUB_STEP_SUMMARY
echo -e "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit 094519c

Please sign in to comment.