update build
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Simon Marsh 2023-05-26 21:58:29 +01:00
parent dd47210038
commit 17e9d96ab9
Signed by: burble
GPG Key ID: E9B4156C1659C079
2 changed files with 16 additions and 27 deletions

View File

@ -8,39 +8,28 @@ steps:
- name: docker alpine
image: plugins/docker
settings:
registry: jcr.burble.dn42
repo: jcr.burble.dn42/bdn42-docker/bird-build
tags:
- alpine
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW
dockerfile: Dockerfile.alpine
registry: git.burble.dn42
repo: git.burble.dn42/burble/bird-build
tags: alpine
username: burble
password:
from_secret: TOKEN
- name: docker ubuntu
image: plugins/docker
settings:
registry: jcr.burble.dn42
repo: jcr.burble.dn42/bdn42-docker/bird-build
tags:
- ubuntu
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW
dockerfile: Dockerfile.ubuntu
registry: git.burble.dn42
repo: git.burble.dn42/burble/bird-build
tags: ubuntu
username: burble
password:
from_secret: TOKEN
---
kind: secret
name: DOCKER_USER
name: TOKEN
get:
path: burble.dn42/kv/data/drone/docker
name: username
---
kind: secret
name: DOCKER_PW
get:
path: burble.dn42/kv/data/drone/docker
name: password
path: burble.dn42/kv/data/drone/git.burble.dn42
name: artifact-token

View File

@ -1,4 +1,4 @@
FROM alpine:3.15.4
FROM alpine:3.18
RUN apk add --update bash build-base git autoconf flex bison linux-headers ncurses-dev readline-dev && rm -rf /var/cache/apk/*
ADD build.sh /build.sh
RUN echo "alpine" > /dist