From dce45af181865ade192621c794cabbde7b031463 Mon Sep 17 00:00:00 2001 From: aichy126 <16996097+aichy126@users.noreply.github.com> Date: Sun, 23 Apr 2023 11:55:14 +0800 Subject: [PATCH] update github action --- .github/workflows/manual_build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual_build.yml b/.github/workflows/manual_build.yml index 2e7f968f..9ac73c79 100644 --- a/.github/workflows/manual_build.yml +++ b/.github/workflows/manual_build.yml @@ -3,6 +3,10 @@ name: Manual Build DockerHub Image on: workflow_dispatch: inputs: + tag_name: + type: string + required: true + description: 'DockerHub img tag name' logLevel: description: 'Log level' required: true @@ -18,6 +22,7 @@ on: type: boolean + jobs: build: runs-on: ubuntu-latest @@ -60,7 +65,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true file: ./.github/Dockerfile - tags: ${{ steps.meta.outputs.tags }} + tags: ${{ inputs.tag_name }} labels: ${{ steps.meta.outputs.labels }}