fix drone pipeline for alternative (staging) branches
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-02-02 11:27:33 +01:00
parent 867899db7e
commit 83cd96ffa0
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -22,7 +22,7 @@ steps:
image: aaronriedel/kustomize-ci image: aaronriedel/kustomize-ci
commands: commands:
- cd /deployment-repo - cd /deployment-repo
- git clone https://git.ar21.de/yolokube/core-deployments.git . - git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git .
- cd /deployment-repo/dashboard/overlays/staging - cd /deployment-repo/dashboard/overlays/staging
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml - kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
volumes: volumes: