Update .forgejo/workflows/deploy.yaml
All checks were successful
/ build-and-deploy (push) Successful in 2m9s
All checks were successful
/ build-and-deploy (push) Successful in 2m9s
This commit is contained in:
parent
aa293c3038
commit
98441dd27e
1 changed files with 0 additions and 10 deletions
|
|
@ -54,16 +54,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kubectl get ns $NAMESPACE || kubectl create namespace $NAMESPACE
|
kubectl get ns $NAMESPACE || kubectl create namespace $NAMESPACE
|
||||||
|
|
||||||
- name: Delete existing imagePullSecret (if exists)
|
|
||||||
run: |
|
|
||||||
kubectl delete secret registry-creds -n $NAMESPACE --ignore-not-found
|
|
||||||
|
|
||||||
- name: Copy imagePullSecret to namespace
|
|
||||||
run: |
|
|
||||||
kubectl get secret registry-creds -n servadmin -o yaml \
|
|
||||||
| sed "s/namespace: servadmin/namespace: $NAMESPACE/" \
|
|
||||||
| kubectl apply -f -
|
|
||||||
|
|
||||||
- name: Deploy with Helm
|
- name: Deploy with Helm
|
||||||
run: |
|
run: |
|
||||||
helm upgrade --install hugo charts \
|
helm upgrade --install hugo charts \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue