1
0
Fork 0

add drone ci

This commit is contained in:
Aaron Riedel 2022-07-04 11:19:25 +02:00
parent 5cabc8c5b3
commit 643fb9a92f
Signed by untrusted user: aaron
GPG key ID: 643004654D40D577

36
.drone.yaml Normal file
View file

@ -0,0 +1,36 @@
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:
include:
- main
event:
include:
- 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:
branch:
exclude:
- main
event:
exclude:
- push