update drone config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-09-24 04:15:32 +02:00
parent fbac6c8b73
commit 4e71ad9ef4
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -1,7 +1,7 @@
kind: pipeline kind: pipeline
name: deploy name: deploy
steps: steps:
- name: docker - name: docker
image: plugins/docker image: plugins/docker
settings: settings:
username: username:
@ -11,4 +11,25 @@ steps:
repo: aaronriedel/ansible-lint repo: aaronriedel/ansible-lint
tags: tags:
- latest - latest
- ${DRONE_COMMIT_SHA:0:8} - ${DRONE_BUILD_NUMBER}
when:
branch:
- main
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/ansible-lint
tags: latest
dry_run: true
when:
branch:
exclude:
- main
when:
event:
include:
- push