Skip to content

Commit 6a5481f

Browse files
author
Augment Agent
committed
chore: remove default staging tag from pipeline
1 parent 0004ced commit 6a5481f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ on:
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

1514
env:
1615
PROJECT_ID: merkle-oracle-staging
@@ -19,7 +18,6 @@ env:
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

2422
jobs:
2523
build:
@@ -40,9 +38,10 @@ jobs:
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

0 commit comments

Comments
 (0)