update github action

This commit is contained in:
aichy126 2023-04-23 11:55:14 +08:00
parent 8a5e386dd7
commit dce45af181
1 changed files with 6 additions and 1 deletions

View File

@ -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 }}