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:07:47 +02:00
parent 9e7111a749
commit ec04ce2f3f
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,23 +1,36 @@
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:18.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:
- latest
- 18.04
when: when:
event: tag event:
exclude:
- tag
# build_and_publish: - name: build_and_publish
# no publish at this time image: plugins/docker:linux-amd64
# image: plugins/docker pull: always
# pull: true settings:
# secrets: [ docker_username, docker_password ] daemon_off: false
# repo: libreschool-automation/ubuntu-build password:
# auto_tag: true from_secret: docker_password
# auto_tag_suffix: linux-amd64 registry: registry.libreschool.org
# dockerfile: Dockerfile repo: registry.libreschool.org/libreschool-automation/ubuntu-build
# when: tags:
# event: [ push, tag ] - latest
- 18.04
username:
from_secret: docker_username
when:
event:
- tag