Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
8f68626a1d | |||
ec04ce2f3f | |||
9e7111a749 |
57
.drone.yml
57
.drone.yml
@ -1,23 +1,38 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
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:14.04 .
|
daemon_off: false
|
||||||
volumes:
|
dry_run: true
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
repo: git.libreschool.org/libreschool-automation/ubuntu-build
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- 18.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
|
force_tag: true
|
||||||
# dockerfile: Dockerfile
|
registry: git.libreschool.org
|
||||||
# when:
|
username:
|
||||||
# event: [ push, tag ]
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: git.libreschool.org/libreschool-automation/ubuntu-build
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- 18.04
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:14.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
build-essential devscripts debhelper pkg-config intltool libplymouth-dev
|
build-essential devscripts debhelper pkg-config intltool libplymouth-dev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user