shbot/.drone.yml

37 lines
632 B
YAML
Raw Normal View History

2022-07-01 03:16:22 +02:00
kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/shbot
tags: latest
when:
branch:
include:
- master
event:
include:
- push
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/shbot
tags: latest
dry_run: true
when:
branch:
exclude:
- master
event:
exclude:
2022-07-03 02:42:28 +02:00
- push
# test