Compare commits

...

3 Commits

Author SHA1 Message Date
8f68626a1d
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 10:06:51 +02:00
ec04ce2f3f
drone upgrade
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2019-04-25 10:07:47 +02:00
9e7111a749 added support for 18.04
All checks were successful
the build was successful
2018-08-12 20:58:03 +02:00
3 changed files with 38 additions and 23 deletions

View File

@ -1,23 +1,38 @@
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:
- latest
- 18.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:
- latest
- 18.04
when:
event:
- tag

View File

@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
build-essential devscripts debhelper pkg-config intltool libplymouth-dev

View File

@ -9,5 +9,5 @@ This is used to speed-up automated building.
## Build
```
docker build . -t libreschool-automation/ubuntu-build:14.04
docker build . -t libreschool-automation/ubuntu-build:18.04
```