This commit is contained in:
parent
3594b5494c
commit
449b84344d
2 changed files with 23 additions and 11 deletions
21
.woodpecker.yml
Normal file
21
.woodpecker.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
pipeline:
|
||||||
|
publish:
|
||||||
|
image: plugins/docker
|
||||||
|
registry: registry.nulo.in
|
||||||
|
repo: registry.nulo.in/sutty/containers-sdk
|
||||||
|
tags:
|
||||||
|
- ${ALPINE_VERSION}
|
||||||
|
- latest
|
||||||
|
build_args:
|
||||||
|
- ALPINE_VERSION=${ALPINE_VERSION}
|
||||||
|
username: sutty
|
||||||
|
secrets:
|
||||||
|
- docker_password
|
||||||
|
when:
|
||||||
|
branch: antifascista
|
||||||
|
event: push
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
ALPINE_VERSION:
|
||||||
|
- 3.13.6
|
||||||
|
- 3.14.2
|
13
Dockerfile
13
Dockerfile
|
@ -1,18 +1,9 @@
|
||||||
FROM alpine:3.13.1
|
ARG ALPINE_VERSION=3.13.6
|
||||||
|
FROM alpine:${ALPINE_VERSION}
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
RUN apk add --no-cache alpine-sdk ccache cmake
|
RUN apk add --no-cache alpine-sdk ccache cmake
|
||||||
RUN adduser -s /bin/sh -D builder
|
RUN adduser -s /bin/sh -D builder
|
||||||
RUN adduser builder abuild
|
RUN adduser builder abuild
|
||||||
|
|
||||||
# Generate keys
|
|
||||||
#
|
|
||||||
# TODO: It doesn't matter if we publish them because they're private
|
|
||||||
# repositories.
|
|
||||||
# USER builder
|
|
||||||
# RUN abuild-keygen
|
|
||||||
# RUN echo /home/builder/.abuild/*.rsa \
|
|
||||||
# | sed "s/^/PACKAGER_PRIVKEY=/" \
|
|
||||||
# >> /home/builder/.abuild/abuild.conf
|
|
||||||
|
|
||||||
ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
ENV PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|
Loading…
Reference in a new issue