File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 35
35
# not the secret value.
36
36
# Triggers:
37
37
# • Every push to `main`
38
+ # • Expects a secret called `mcpgateway-dev` in Code Engine. Ex:
39
+ # ibmcloud ce secret create \
40
+ # --name mcpgateway-dev \
41
+ # --from-env-file .env
38
42
# ---------------------------------------------------------------
39
43
40
44
name : Deploy to IBM Code Engine
@@ -156,6 +160,7 @@ jobs:
156
160
--name "$CODE_ENGINE_APP_NAME" \
157
161
--image "$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$IMAGE_TAG" \
158
162
--registry-secret "$CODE_ENGINE_REGISTRY_SECRET" \
163
+ --env-from-secret mcpgateway-dev \
159
164
--cpu 1 --memory 2G
160
165
else
161
166
echo "🆕 Creating new application…"
@@ -164,6 +169,7 @@ jobs:
164
169
--image "$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$IMAGE_TAG" \
165
170
--registry-secret "$CODE_ENGINE_REGISTRY_SECRET" \
166
171
--port "$PORT" \
172
+ --env-from-secret mcpgateway-dev \
167
173
--cpu 1 --memory 2G
168
174
fi
169
175
You can’t perform that action at this time.
0 commit comments