drone upgrade
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2019-04-25 10:14:58 +02:00
parent 17a0ab06ed
commit d76f747354
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,23 +1,34 @@
kind: pipeline
name: default
pipeline: steps:
- name: build
build: image: plugins/docker:linux-amd64
image: docker pull: always
commands: settings:
- docker build --rm -t libreschool-automation/ubuntu-build:16.04 . daemon_off: false
volumes: dry_run: true
- /var/run/docker.sock:/var/run/docker.sock repo: registry.libreschool.org/libreschool-automation/ubuntu-build
tags:
- 16.04
when: when:
event: tag event:
exclude:
# build_and_publish: - tag
# no publish at this time
# image: plugins/docker - name: build_and_publish
# pull: true image: plugins/docker:linux-amd64
# secrets: [ docker_username, docker_password ] pull: always
# repo: libreschool-automation/ubuntu-build settings:
# auto_tag: true daemon_off: false
# auto_tag_suffix: linux-amd64 password:
# dockerfile: Dockerfile from_secret: docker_password
# when: registry: registry.libreschool.org
# event: [ push, tag ] repo: registry.libreschool.org/libreschool-automation/ubuntu-build
tags:
- 16.04
username:
from_secret: docker_username
when:
event:
- tag