rpm-sign/.drone.yml

37 lines
762 B
YAML
Raw Normal View History

2019-04-25 11:48:58 +02:00
kind: pipeline
type: docker
2019-04-25 11:48:58 +02:00
name: default
2018-09-28 14:14:09 +02:00
2019-04-25 11:48:58 +02:00
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
dry_run: true
repo: git.libreschool.org/libreschool-automation/rpm-sign
2019-04-25 11:48:58 +02:00
tags:
- latest
when:
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
force_tag: true
registry: git.libreschool.org
username:
from_secret: docker_username
2019-04-25 11:48:58 +02:00
password:
from_secret: docker_password
repo: git.libreschool.org/libreschool-automation/rpm-sign
2019-04-25 11:48:58 +02:00
tags:
- latest
2018-09-28 14:14:09 +02:00
when:
2019-04-25 11:48:58 +02:00
event:
- tag