File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and push images
2
2
3
3
on :
4
- push :
5
- tags :
6
- - ' v*.*.*'
7
4
workflow_dispatch :
8
5
inputs :
6
+ ref :
7
+ type : string
8
+ required : true
9
9
platforms :
10
10
type : string
11
11
default : linux/x86_64,linux/arm64
27
27
install : true
28
28
- uses : actions/checkout@v4
29
29
with :
30
- ref : ${{ github.ref_name }}
30
+ ref : ${{ github.event.inputs.ref }}
31
31
- run : |
32
32
git fetch --prune --unshallow
33
33
- name : Log in to ghcr.io
37
37
username : ${{ github.actor }}
38
38
password : ${{ secrets.GITHUB_TOKEN }}
39
39
- name : Build toolkit
40
- if : ${{ github.event.inputs.build-toolkit }}
41
40
run : |
42
- make PLATFORM=${{ github.event.inputs.platforms }} DOCKER_ARGS=--push VERSION=${{ github.ref_name }} build
41
+ make PLATFORM=${{ github.event.inputs.platforms }} DOCKER_ARGS=--push VERSION=${{ github.event.inputs.ref }} build
You can’t perform that action at this time.
0 commit comments