apply pipeline config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-09-20 21:57:34 +02:00
parent 9b22e0c9ba
commit 37e0a6cb6e
Signed by: aaron
GPG key ID: 643004654D40D577

33
.drone.yml Normal file
View file

@ -0,0 +1,33 @@
kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/dashboard
tags: latest
when:
branch:
- master
event:
- push
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/dashboard
tags: latest
dry_run: true
when:
exclude:
branch:
- master
event:
- push