-
Notifications
You must be signed in to change notification settings - Fork 230
27 lines (26 loc) · 961 Bytes
/
build_image_bhp.yml
File metadata and controls
27 lines (26 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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:
runs-on: ubuntu-latest
name: Build BiliHelper-personal Docker Image Build Stable Github
steps:
- name: Checkout master
uses: actions/checkout@master
- name: Build and publish image
uses: ilteoood/docker_buildx@master
with:
publish: true
imageName: lkeme/bilihelper-personal
dockerFile: docker/Dockerfile
platform: linux/amd64,linux/arm64,linux/arm/v7
# platform: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
tag: ${{ github.event.inputs.docker_image_tag }}
dockerUser: ${{ secrets.DOCKER_USERNAME }}
dockerPassword: ${{ secrets.DOCKER_PASSWORD }}