ansible-lint/.drone.yml

35 lines
622 B
YAML
Raw Normal View History

2023-02-15 00:57:15 +01:00
kind: pipeline
name: deploy
steps:
2023-09-24 04:15:32 +02:00
- name: docker
2023-02-15 00:57:15 +01:00
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/ansible-lint
tags:
- latest
2023-09-24 04:15:32 +02:00
- ${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