Skip to content

Commit 81ea042

Browse files
committed
Update ce dev image build
Signed-off-by: Mihai Criveti <[email protected]>
1 parent 519c086 commit 81ea042

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ibm-cloud-code-engine.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
# not the secret value.
3636
# Triggers:
3737
# • 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
3842
# ---------------------------------------------------------------
3943

4044
name: Deploy to IBM Code Engine
@@ -156,6 +160,7 @@ jobs:
156160
--name "$CODE_ENGINE_APP_NAME" \
157161
--image "$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$IMAGE_TAG" \
158162
--registry-secret "$CODE_ENGINE_REGISTRY_SECRET" \
163+
--env-from-secret mcpgateway-dev \
159164
--cpu 1 --memory 2G
160165
else
161166
echo "🆕 Creating new application…"
@@ -164,6 +169,7 @@ jobs:
164169
--image "$REGISTRY_HOSTNAME/$ICR_NAMESPACE/$IMAGE_NAME:$IMAGE_TAG" \
165170
--registry-secret "$CODE_ENGINE_REGISTRY_SECRET" \
166171
--port "$PORT" \
172+
--env-from-secret mcpgateway-dev \
167173
--cpu 1 --memory 2G
168174
fi
169175

0 commit comments

Comments
 (0)