File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,19 @@ jobs:
127127 # Backend tag
128128 if [ "${{ github.event.inputs.skip_backend_build }}" == "true" ]; then
129129 BACKEND_TAG="${{ github.event.inputs.backend_version }}"
130+ if [ -z "$BACKEND_TAG" ]; then
131+ BACKEND_TAG="latest"
132+ fi
130133 else
131134 BACKEND_TAG="${{ github.ref_name }}"
132135 fi
133136
134137 # Frontend tag from input or default to latest
135138 FRONTEND_TAG="${{ github.event.inputs.frontend_version }}"
136-
139+ if [ -z "$FRONTEND_TAG" ]; then
140+ FRONTEND_TAG="latest"
141+ fi
142+
137143 echo "Validating backend image: ghcr.io/ubyssey/thoth:$BACKEND_TAG"
138144 if docker manifest inspect ghcr.io/ubyssey/thoth:$BACKEND_TAG >/dev/null 2>&1; then
139145 echo "✅ Backend tag $BACKEND_TAG exists"
You can’t perform that action at this time.
0 commit comments