rpm-build/.drone.yml

39 lines
788 B
YAML
Raw Normal View History

2019-04-25 08:37:32 +00:00
kind: pipeline
type: docker
2019-04-25 08:37:32 +00:00
name: default
2018-08-12 16:52:50 +00:00
2019-04-25 08:37:32 +00: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-build
2019-04-25 08:37:32 +00:00
tags:
2019-04-25 08:59:31 +00:00
- latest
- 7
2018-08-12 16:52:50 +00:00
when:
2019-04-25 08:37:32 +00:00
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 08:37:32 +00:00
password:
from_secret: docker_password
repo: git.libreschool.org/libreschool-automation/rpm-build
2019-04-25 08:37:32 +00:00
tags:
2019-04-25 08:59:31 +00:00
- latest
- 7
2019-04-25 08:37:32 +00:00
when:
event:
- tag