CI
Some checks are pending
continuous-integration/drone the build is running

This commit is contained in:
f 2021-09-29 15:08:39 -03:00
parent 3594b5494c
commit 449b84344d
2 changed files with 23 additions and 11 deletions

21
.woodpecker.yml Normal file
View 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

View file

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