Compare commits

..

No commits in common. "2cebac5f7cd4d2c4d99006ab394a84ed450d6e4f" and "0f404c33353339de67ab68a9b6ae6ccefd16513a" have entirely different histories.

3 changed files with 15 additions and 27 deletions

View file

@ -1,11 +0,0 @@
stages:
- build
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --destination $CI_REGISTRY_IMAGE:latest

View file

@ -1,25 +1,24 @@
pipeline: pipeline:
publish: publish:
image: plugins/docker image: plugins/docker
settings: registry: registry.nulo.in
registry: registry.nulo.in repo: registry.nulo.in/sutty/containers-gem-compiler
username: sutty tags:
repo: registry.nulo.in/sutty/containers-gem-compiler - ${ALPINE_VERSION}
cache_from: registry.nulo.in/sutty/containers-gem-compiler - latest
tags: build_args:
- ${ALPINE_VERSION} - ALPINE_VERSION=${ALPINE_VERSION}
- latest - BASE_IMAGE=registry.nulo.in/sutty/containers-sdk-ruby
build_args: cache_from: registry.nulo.in/sutty/containers-gem-compiler
- ALPINE_VERSION=${ALPINE_VERSION} username: sutty
- BASE_IMAGE=registry.nulo.in/sutty/containers-sdk-ruby
secrets: secrets:
- docker_password - docker_password
when: when:
branch: antifascista branch: antifascista
event: push event: push
matrix: matrix:
ALPINE_VERSION: ALPINE_VERSION:
- 3.16.0 - 3.13.6
- 3.15.4
- 3.14.6 - 3.14.6
- 3.13.10 - 3.15.4

View file

@ -1,5 +1,5 @@
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/sdk-ruby ARG BASE_IMAGE=sutty/sdk-ruby
ARG ALPINE_VERSION=3.13.6
FROM ${BASE_IMAGE}:${ALPINE_VERSION} FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>" MAINTAINER "f <f@sutty.nl>"
@ -15,7 +15,7 @@ ENV EXTRA_PKGS=''
RUN id RUN id
RUN gem env RUN gem env
RUN ls -hal /usr/lib/ruby/gems/2.7.0 RUN ls -hal /usr/lib/ruby/gems/2.7.0
RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox gem-compiler RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox mini_portile2 gem-compiler
COPY ./gem-compiler.sh /usr/local/bin/gem-compiler COPY ./gem-compiler.sh /usr/local/bin/gem-compiler
COPY ./bootstrap.sh /usr/local/bin/bootstrap COPY ./bootstrap.sh /usr/local/bin/bootstrap