nextcloud-fpm/.drone.yml
Aaron Riedel da26a97204
All checks were successful
continuous-integration/drone/push Build is passing
fix
2022-07-21 17:34:00 +02:00

33 lines
No EOL
599 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/nextcloud-fpm
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/nextcloud-fpm
tags: latest
dry_run: true
when:
exclude:
branch:
- main
event:
- push