From a56445d8c2d561076f4b062e7fa556c302664d2d Mon Sep 17 00:00:00 2001 From: A lucky guy <79245287+tom-snow@users.noreply.github.com> Date: Sat, 27 Aug 2022 20:19:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BAdocker=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=97=B6=E6=89=8B=E5=8A=A8=E6=89=93tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_image_bhp.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_image_bhp.yml b/.github/workflows/build_image_bhp.yml index 1bf3977..0196a9d 100644 --- a/.github/workflows/build_image_bhp.yml +++ b/.github/workflows/build_image_bhp.yml @@ -1,6 +1,11 @@ name: "BiliHelper-personal Docker Image Buildx Stable Github" on: workflow_dispatch: + inputs: + docker_image_tag: + description: 'docker镜像tag:(多个tag用英文逗号分隔.[如:latest,2.0.0.1])' + required: true + default: 'latest' jobs: build: @@ -17,6 +22,6 @@ jobs: dockerFile: docker/Dockerfile platform: linux/amd64,linux/arm64,linux/arm/v7 # platform: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 - tag: latest + tag: ${{ github.event.inputs.docker_image_tag }} dockerUser: ${{ secrets.DOCKER_USERNAME }} - dockerPassword: ${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file + dockerPassword: ${{ secrets.DOCKER_PASSWORD }}