Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
376524ad97 | |||
ee554a5b98 |
53
.drone.yml
53
.drone.yml
@ -1,23 +1,36 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
pipeline:
|
||||
|
||||
build:
|
||||
image: docker
|
||||
commands:
|
||||
- docker build --rm -t libreschool-automation/ubuntu-build:14.04 .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker:linux-amd64
|
||||
pull: always
|
||||
settings:
|
||||
daemon_off: false
|
||||
dry_run: true
|
||||
repo: git.libreschool.org/libreschool-automation/ubuntu-build
|
||||
tags:
|
||||
- 14.04
|
||||
when:
|
||||
event: tag
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
# build_and_publish:
|
||||
# no publish at this time
|
||||
# image: plugins/docker
|
||||
# pull: true
|
||||
# secrets: [ docker_username, docker_password ]
|
||||
# repo: libreschool-automation/ubuntu-build
|
||||
# auto_tag: true
|
||||
# auto_tag_suffix: linux-amd64
|
||||
# dockerfile: Dockerfile
|
||||
# when:
|
||||
# event: [ push, 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/ubuntu-build
|
||||
tags:
|
||||
- 14.04
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user