This commit is contained in:
s871077
2026-09-21 15:19:36 +08:00
parent a1cc1962a0
commit b30ca767a7
+9
View File
@@ -236,6 +236,15 @@ jobs:
kubectl create namespace "${{ matrix.namespace }}" \
--dry-run=client -o yaml | kubectl apply -f -
- name: Ensure JFrog pull secret exists
run: |
kubectl create secret docker-registry jfrog-registry-creds \
--docker-server="$(echo "${JFROG_REGISTRY}" | cut -d'/' -f1)" \
--docker-username="${{ secrets.JFROG_USERNAME }}" \
--docker-password="${{ secrets.JFROG_IDENTITY_TOKEN }}" \
--namespace "${{ matrix.namespace }}" \
--dry-run=client -o yaml | kubectl apply -f -
# ---- DEV DEPLOY (branch dev only) ----
# Deployed by commit SHA, not latest-dev: an immutable tag sidesteps the
# moving-tag + IfNotPresent stale-cache trap and makes `kubectl describe