fix indentation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-06-20 23:37:39 +02:00
parent 6f126515fe
commit d9a7a91826
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -13,11 +13,11 @@ steps:
tags: tags:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
when: when:
branch: branch:
- main - main
event: event:
- push - push
- name: docker-build - name: docker-build
image: plugins/docker image: plugins/docker
settings: settings:
@ -30,12 +30,12 @@ steps:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
dry_run: true dry_run: true
when: when:
branch: branch:
exclude: exclude:
- main - main
event: event:
- push - push
- name: bump tag in deployment-repo - name: bump tag in deployment-repo
image: git.ar21.de/aaron/kustomize-ci image: git.ar21.de/aaron/kustomize-ci
commands: commands:
@ -46,12 +46,11 @@ steps:
volumes: volumes:
- name: deployment-repo - name: deployment-repo
path: /deployment-repo path: /deployment-repo
settings: when:
when: branch:
branch: - main
- main event:
event: - push
- push
- name: push new tag to deployment-repo - name: push new tag to deployment-repo
image: appleboy/drone-git-push image: appleboy/drone-git-push
settings: settings:
@ -63,11 +62,11 @@ steps:
commit_message: "update image tag to ${DRONE_BUILD_NUMBER}" commit_message: "update image tag to ${DRONE_BUILD_NUMBER}"
ssh_key: ssh_key:
from_secret: GITEA_SSH_KEY from_secret: GITEA_SSH_KEY
when: when:
branch: branch:
- main - main
event: event:
- push - push
volumes: volumes:
- name: deployment-repo - name: deployment-repo
path: /deployment-repo path: /deployment-repo