Aaron Riedel
e8a662d76f
All checks were successful
continuous-integration/drone/push Build is passing
39 lines
No EOL
720 B
YAML
39 lines
No EOL
720 B
YAML
kind: pipeline
|
|
name: deploy
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
registry:
|
|
from_secret: REGISTRY_NAME
|
|
username:
|
|
from_secret: REGISTRY_USER
|
|
password:
|
|
from_secret: REGISTRY_PASS
|
|
repo: git.ar21.de/aaron/ansible-lint
|
|
tags:
|
|
- latest
|
|
- ${DRONE_BUILD_NUMBER}
|
|
when:
|
|
branch:
|
|
- main
|
|
- name: docker-build
|
|
image: plugins/docker
|
|
settings:
|
|
registry:
|
|
from_secret: REGISTRY_NAME
|
|
username:
|
|
from_secret: REGISTRY_USER
|
|
password:
|
|
from_secret: REGISTRY_PASS
|
|
repo: git.ar21.de/aaron/ansible-lint
|
|
tags: latest
|
|
dry_run: true
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- main
|
|
when:
|
|
event:
|
|
include:
|
|
- push |