We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383abc1 commit 0fe40f4Copy full SHA for 0fe40f4
.github/workflows/build_and_push.yml
@@ -5,10 +5,6 @@ run-name: 构建镜像并推送仓库 ${{ github.event.inputs.dockerImageTag }}
5
on:
6
workflow_dispatch:
7
inputs:
8
- branch:
9
- description: 'Branch'
10
- required: true
11
- default: "main"
12
dockerImageTag:
13
description: 'Image Tag'
14
default: 'v0.9.0'
@@ -45,7 +41,7 @@ jobs:
45
41
- name: Checkout
46
42
uses: actions/checkout@v4
47
43
with:
48
- ref: ${{ github.event.inputs.branch }}
44
+ ref: ${{ github.ref_name }}
49
- name: Prepare
50
id: prepare
51
run: |
@@ -80,7 +76,7 @@ jobs:
80
76
81
77
82
78
83
79
84
85
86
0 commit comments