Paolo Asperti
6955273956
All checks were successful
continuous-integration/drone/tag Build is passing
38 lines
785 B
YAML
38 lines
785 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: plugins/docker:linux-amd64
|
|
pull: always
|
|
settings:
|
|
daemon_off: false
|
|
dry_run: true
|
|
repo: git.libreschool.org/libreschool-automation/deb-sign
|
|
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
|
|
password:
|
|
from_secret: docker_password
|
|
repo: git.libreschool.org/libreschool-automation/deb-sign
|
|
tags:
|
|
- latest
|
|
- ${DRONE_TAG}
|
|
when:
|
|
event:
|
|
- tag
|