support quoted deployment image tags
This commit is contained in:
@@ -81,8 +81,8 @@ jobs:
|
||||
- name: Deploy Formulation read-only viewer
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sed -E -i "s#newTag: [0-9a-f]+#newTag: ${IMAGE_TAG}#" k8s/kustomization.yaml
|
||||
grep -q "newTag: ${IMAGE_TAG}$" k8s/kustomization.yaml
|
||||
sed -E -i "s#newTag: \"[0-9a-f]+\"#newTag: \"${IMAGE_TAG}\"#" k8s/kustomization.yaml
|
||||
grep -q "newTag: \"${IMAGE_TAG}\"$" k8s/kustomization.yaml
|
||||
kubectl apply --kustomize k8s
|
||||
if ! kubectl rollout status deployment/recipe-book \
|
||||
--namespace nicholas --timeout=180s; then
|
||||
|
||||
Reference in New Issue
Block a user