1 Commits

Author SHA1 Message Date
Dennis Hundertmark a845babc44 feat: Add a new step to the deploy pipeline to update Kubernetes manifests with the latest image tag.
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
2026-03-08 10:09:00 +01:00
+3 -3
View File
@@ -54,9 +54,9 @@ steps:
- apk add --no-cache git sed - apk add --no-cache git sed
- git clone https://gitea.mnky-code.de/mnky/k8s-manifests.git - git clone https://gitea.mnky-code.de/mnky/k8s-manifests.git
- cd k8s-manifests - cd k8s-manifests
- 'sed -i "s|image: gitea.mnky-code.de/mnky/ngrx-playground:.*|image: gitea.mnky-code.de/mnky/ngrx-playground:${DRONE_COMMIT_SHA}|" ngrx-playground/deployment.yaml' - sed -i "s|image: gitea.mnky-code.de/mnky/ngrx-playground:.*|image: gitea.mnky-code.de/mnky/ngrx-playground:${DRONE_COMMIT_SHA}|" ngrx-playground/deployment.yaml
- git config user.name "drone" - git config user.name "drone"
- git config user.email "drone@mnky-code.de" - git config user.email "drone@mnky-code.de"
- git add ngrx-playground/deployment.yaml - git add ngrx-playground/deployment.yaml
- 'git commit -m "Deploy ngrx-playground ${DRONE_COMMIT_SHA}" || exit 0' - git commit -m "Deploy ngrx-playground ${DRONE_COMMIT_SHA}" || exit 0
- 'git push https://${GITEA_USERNAME}:${GITEA_PASSWORD}@gitea.mnky-code.de/mnky/k8s-manifests.git HEAD:main' - git push https://${GITEA_USERNAME}:${GITEA_PASSWORD}@gitea.mnky-code.de/mnky/k8s-manifests.git HEAD:main