change to my new image for git + kustomize
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-02-14 12:03:07 +01:00
parent 52246f34d0
commit a984a527ad
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -12,20 +12,11 @@ steps:
tags: tags:
- latest - latest
- ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_SHA:0:8}
- name: get deployment repo - name: bump tag in deployment-repo
image: debian image: aaronriedel/kustomize-ci
commands: commands:
- apt-get update -qq
- apt-get install -y -qq git
- cd /deployment-repo - cd /deployment-repo
- git clone https://git.ar21.de/aaron/egress-test-deployment.git . - git clone https://git.ar21.de/aaron/egress-test-deployment.git .
volumes:
- name: deployment-repo
path: /deployment-repo
- name: update image in deployment repo
image: nekottyo/kustomize-kubeval
commands:
- cd /deployment-repo
- kustomize edit set image aaronriedel/egress-test=aaronriedel/egress-test:${DRONE_COMMIT_SHA:0:8} - kustomize edit set image aaronriedel/egress-test=aaronriedel/egress-test:${DRONE_COMMIT_SHA:0:8}
- kustomize build -o /deployment-repo/ressources/deployment.yaml - kustomize build -o /deployment-repo/ressources/deployment.yaml
volumes: volumes: