hastebin-build/.drone.yml
Armin Friedl 2695a49f59
All checks were successful
continuous-integration/drone Build is passing
Try de-dup pipeline names
2024-01-03 22:25:52 +01:00

79 lines
1.3 KiB
YAML

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