File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 11name : Release
2- on :
2+ on :
33 release :
44 types : [published]
5- workflow_dispatch :
6- reason_to_run :
7- description : " Please provide a description why it's need to be run outside of automatic builds process"
8- required : false
9- default : " "
5+ # workflow_dispatch:
6+ # reason_to_run:
7+ # description: "Please provide a description why it's need to be run outside of automatic builds process"
8+ # required: false
9+ # default: ""
1010
1111
1212env :
1717 release :
1818 name : Release bin version
1919 runs-on : ubuntu-latest
20- if : github.event_name != 'workflow_dispatch'
20+ # if: github.event_name != 'workflow_dispatch'
2121 container : golang:1.16.0-alpine
2222 steps :
2323
4444 uses : actions/checkout@v2
4545
4646 - name : Build image
47- run : |
47+ run : |
4848 set -x
4949 VERSION=$(git describe --tag --abbrev=0)
5050 cp Dockerfile-alpine Dockerfile
7575 docker push "${REGISTRY}/${IMAGE}:${VERSION}"
7676 docker push "${REGISTRY}/${IMAGE}:latest"
7777
78- - name : Message why this build was required
79- if : github.event.inputs.reason_to_run
80- run : echo "Reason for the manual build: ${{ github.event.inputs.reason_to_run }}"
78+ # - name: Message why this build was required
79+ # if: github.event.inputs.reason_to_run
80+ # run: echo "Reason for the manual build: ${{ github.event.inputs.reason_to_run }}"
You can’t perform that action at this time.
0 commit comments