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 11name : Build and push images
22
33on :
4- push :
5- tags :
6- - ' v*.*.*'
74 workflow_dispatch :
85 inputs :
6+ ref :
7+ type : string
8+ required : true
99 platforms :
1010 type : string
1111 default : linux/x86_64,linux/arm64
2727 install : true
2828 - uses : actions/checkout@v4
2929 with :
30- ref : ${{ github.ref_name }}
30+ ref : ${{ github.event.inputs.ref }}
3131 - run : |
3232 git fetch --prune --unshallow
3333 - name : Log in to ghcr.io
3737 username : ${{ github.actor }}
3838 password : ${{ secrets.GITHUB_TOKEN }}
3939 - name : Build toolkit
40- if : ${{ github.event.inputs.build-toolkit }}
4140 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