dashboard/.drone.yml

34 lines
600 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
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
2023-09-21 21:15:02 +02:00
tags: DRONE_BUILD_NUMBER
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