This commit is contained in:
parent
fbac6c8b73
commit
4e71ad9ef4
1 changed files with 23 additions and 2 deletions
23
.drone.yml
23
.drone.yml
|
@ -11,4 +11,25 @@ steps:
|
|||
repo: aaronriedel/ansible-lint
|
||||
tags:
|
||||
- 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
|
Loading…
Reference in a new issue