deb-sign/.drone.yml

38 lines
785 B
YAML
Raw Normal View History

2019-04-25 10:08:30 +00:00
kind: pipeline
2023-05-13 06:36:26 +00:00
type: docker
2019-04-25 10:08:30 +00:00
name: default
2018-08-12 17:01:40 +00:00
2019-04-25 10:08:30 +00:00
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
dry_run: true
2023-05-13 06:33:17 +00:00
repo: git.libreschool.org/libreschool-automation/deb-sign
2019-04-25 10:08:30 +00:00
tags:
- latest
when:
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
2023-05-13 06:36:26 +00:00
force_tag: true
registry: git.libreschool.org
username:
from_secret: docker_username
2019-04-25 10:08:30 +00:00
password:
from_secret: docker_password
2023-05-13 06:33:17 +00:00
repo: git.libreschool.org/libreschool-automation/deb-sign
2019-04-25 10:08:30 +00:00
tags:
- latest
2023-05-13 06:36:26 +00:00
- ${DRONE_TAG}
2018-08-12 17:01:40 +00:00
when:
2019-04-25 10:08:30 +00:00
event:
- tag