Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 authored Sep 30, 2024
1 parent 54d0f19 commit 4c61a07
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,11 @@ on:
- '**.md'
- 'LICENSE'
workflow_dispatch: # 手动触发
inputs:
updateServerVersion:
description: 'Update Server Docker Image Version'
type: boolean
default: false
required: false

jobs:
build:
name: Docker Build Image And Push Docker Registry
runs-on: blacksmith-4vcpu-ubuntu-2204
runs-on: blacksmith-8vcpu-ubuntu-2204
env:
SECRET_REPO_PREFIX: REPO_
SECRET_USERNAME_PREFIX: USERNAME_
Expand Down Expand Up @@ -95,4 +89,4 @@ jobs:
for repo in ${repos[@]}; do
command="$command -t $repo\:latest -t $repo\:$(TZ=Asia/Shanghai date +%Y-%m-%d_%H-%M-%S)_$(git rev-parse --short HEAD)"
done
eval $command
eval $command

0 comments on commit 4c61a07

Please sign in to comment.