35 lines
772 B
YAML
35 lines
772 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: plugins/docker:linux-amd64
|
||
|
pull: always
|
||
|
settings:
|
||
|
daemon_off: false
|
||
|
dry_run: true
|
||
|
repo: registry.libreschool.org/libreschool-automation/libreschool-iso-builder
|
||
|
tags:
|
||
|
- latest
|
||
|
when:
|
||
|
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/libreschool-iso-builder
|
||
|
tags:
|
||
|
- latest
|
||
|
username:
|
||
|
from_secret: docker_username
|
||
|
when:
|
||
|
event:
|
||
|
- tag
|