File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 88 inputs :
99 tag :
1010 description : ' Docker image tag to deploy (e.g., v1.0.3)'
11- required : false
11+ required : true
1212 type : string
13- default : ' v1.0.1-staging'
1413
1514env :
1615 PROJECT_ID : merkle-oracle-staging
1918 IMAGE_NAME : merkle-oracle-node
2019 MIG_NAME : merkle-oracle-node-mig-staging
2120 DOMAIN : merkle-staging4.zengate-dev.com
22- DEFAULT_TAG : v1.0.1-staging
2321
2422jobs :
2523 build :
4038 id : set-tag
4139 run : |
4240 if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
43- TAG="${{ github.event.inputs.tag || env.DEFAULT_TAG }}"
41+ TAG="${{ github.event.inputs.tag }}"
4442 else
45- TAG="${{ env.DEFAULT_TAG }}"
43+ echo "Error: Push trigger requires manual tag specification"
44+ exit 1
4645 fi
4746 echo "tag=$TAG" >> $GITHUB_OUTPUT
4847
You can’t perform that action at this time.
0 commit comments