debug-docker/.drone.yml
Aaron Riedel 9993a0df2c
All checks were successful
continuous-integration/drone Build is passing
initial commit
2023-07-17 09:58:38 +02:00

33 lines
No EOL
581 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/debug
tags: latest
when:
branch:
- main
event:
- push
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/debug
tags: latest
dry_run: true
when:
exclude:
branch:
- main
event:
- push