hastebin-build/.drone.yml
Armin Friedl 23eb94c365
All checks were successful
continuous-integration/drone Build is passing
Add custom build
2022-08-27 20:17:19 +02:00

79 lines
1.2 KiB
YAML

kind: pipeline
type: docker
name: latest-custom
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:
- custom
---
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
---
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