ansible-lint/.drone.yml
Aaron Riedel 4e71ad9ef4
All checks were successful
continuous-integration/drone/push Build is passing
update drone config
2023-09-24 04:15:32 +02:00

35 lines
No EOL
622 B
YAML

kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/ansible-lint
tags:
- latest
- ${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