rpm-pack/.drone.yml

35 lines
742 B
YAML
Raw Normal View History

2019-04-25 11:19:57 +02:00
kind: pipeline
name: default
2018-08-12 18:43:34 +02:00
2019-04-25 11:19:57 +02:00
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
dry_run: true
repo: registry.libreschool.org/libreschool-automation/rpm-pack
tags:
- latest
2018-08-12 18:43:34 +02:00
when:
2019-04-25 11:19:57 +02:00
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
password:
from_secret: docker_password
registry: registry.libreschool.org
repo: registry.libreschool.org/libreschool-automation/rpm-pack
tags:
- latest
username:
from_secret: docker_username
when:
event:
- tag