mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-18 17:00:06 +08:00
构建docker镜像时手动打tag
This commit is contained in:
parent
f09aa322d6
commit
a56445d8c2
7
.github/workflows/build_image_bhp.yml
vendored
7
.github/workflows/build_image_bhp.yml
vendored
@ -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 }}
|
||||
Loading…
Reference in New Issue
Block a user