diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..972ceee --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,22 @@ +pipeline: + publish: + image: plugins/docker + registry: registry.nulo.in + repo: registry.nulo.in/sutty/containers-gem-compiler + tags: + - ${ALPINE_VERSION} + - latest + build_args: + - ALPINE_VERSION=${ALPINE_VERSION} + - BASE_IMAGE=registry.nulo.in/sutty/containers-sdk-ruby + username: sutty + secrets: + - docker_password + when: + branch: antifascista + event: push + +matrix: + ALPINE_VERSION: + - 3.13.6 + - 3.14.2 diff --git a/Dockerfile b/Dockerfile index 62e451e..7e029f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM sutty/sdk-ruby:latest +ARG BASE_IMAGE=sutty/sdk-ruby +ARG ALPINE_VERSION=3.13.6 +FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f " ENV GEM=none