diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c7a3dde..8da15ce 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -7,6 +7,17 @@ on: # 配置触发workflow的事件 - 'master' tags: # tag更新时触发此workflow - '*' + workflow_dispatch: + inputs: + name: + description: 'Person to greet' + required: true + default: 'Mona the Octocat' + home: + description: 'location' + required: false + default: 'The Octoverse' + jobs: # workflow中的job @@ -36,4 +47,4 @@ jobs: # workflow中的job context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}