ansible-lint/.drone.yml
Aaron Riedel 5fc1c081f9
Some checks failed
continuous-integration/drone/push Build is failing
change registry
2023-12-24 16:10:28 +01:00

39 lines
No EOL
730 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: ${REGISTRY_NAME}/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: ${REGISTRY_NAME}/aaron/ansible-lint
tags: latest
dry_run: true
when:
branch:
exclude:
- main
when:
event:
include:
- push