hastebin-build/.drone.yml

54 lines
851 B
YAML
Raw Normal View History

kind: pipeline
type: docker
name: latest
steps:
- name: publish
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: latest/Dockerfile
context: latest/
build-args:
- HASTEBIN_VERSION=master
purge: true
repo: arminfriedl/hastebin
tags: latest
trigger:
event:
- cron
cron:
- hastebin_latest
2020-06-07 19:51:15 +00:00
---
kind: pipeline
type: docker
name: stable
steps:
- name: publish
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: stable/Dockerfile
context: stable/
build-args:
- HASTEBIN_VERSION=master
purge: true
repo: arminfriedl/hastebin
tags: stable
trigger:
event:
- cron
cron:
- hastebin_stable