Compare commits

...

2 Commits

Author SHA1 Message Date
376524ad97
changed registry and updated drone pipeline format
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-05-13 09:56:44 +02:00
ee554a5b98
drone upgrade
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2019-04-25 10:15:39 +02:00

View File

@ -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