dashboard/.drone.yml

34 lines
588 B
YAML
Raw Normal View History

2023-09-20 21:57:34 +02:00
kind: pipeline
name: deploy
steps:
2023-09-20 22:05:52 +02:00
- name: docker
2023-09-20 21:57:34 +02:00
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/dashboard
2023-09-21 21:23:11 +02:00
tags: latest
2023-09-20 21:57:34 +02:00
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
2023-09-21 21:18:53 +02:00
tags: latest
2023-09-20 21:57:34 +02:00
dry_run: true
when:
exclude:
branch:
- master
event:
2023-09-21 21:15:02 +02:00
- push