steps: - name: bump tag in deployment-repo image: git.ar21.de/aaron/kustomize-ci commands: - git clone https://git.ar21.de/yolokube/fail2ban-exporter-deployment.git deployment-repo - cd deployment-repo - kustomize edit set image git.ar21.de/yolokube/country-geo-locations=git.ar21.de/yolokube/country-geo-locations:${CI_PIPELINE_NUMBER} when: - branch: main event: push - name: push new tag to deployment-repo image: appleboy/drone-git-push settings: branch: main remote: ssh://git@git.ar21.de:2222/yolokube/fail2ban-exporter-deployment.git path: deployment-repo force: false commit: true commit_message: "yolokube/country-geo-locations: update image tag to ${CI_PIPELINE_NUMBER} (done automagically via Woodpecker pipeline)" ssh_key: from_secret: FORGEJO_SSH_KEY when: - branch: main event: push depends_on: - build