From 094519cc162c955b6f337a4a53ce49c958be8c37 Mon Sep 17 00:00:00 2001 From: Fallen_Breath Date: Wed, 24 Apr 2024 17:35:31 +0800 Subject: [PATCH] name, description and report format --- .github/workflows/ci.yml | 2 +- .github/workflows/image_one.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4540972..2cb1b6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/image_one.yml b/.github/workflows/image_one.yml index 78e5f3d..d71bf0a 100644 --- a/.github/workflows/image_one.yml +++ b/.github/workflows/image_one.yml @@ -1,4 +1,4 @@ -name: step.image_one +name: __step.image_one on: workflow_call: @@ -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