From c06dc5a527983efeefad4f07b7058bbb4d319d46 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 10 Apr 2020 19:55:35 -0300 Subject: [PATCH 1/2] Enable CI --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..304be82 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +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 From 3dfc34388c5c2d8931dc79c471eb3e3f94b0ad48 Mon Sep 17 00:00:00 2001 From: f Date: Sun, 3 Oct 2021 20:19:00 -0300 Subject: [PATCH 2/2] ci --- .woodpecker.yml | 22 ++++++++++++++++++++++ Dockerfile | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..103cb72 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,22 @@ +pipeline: + publish: + image: plugins/docker + registry: registry.nulo.in + repo: registry.nulo.in/sutty/CHANGEME + tags: + - ${ALPINE_VERSION} + - latest + build_args: + - ALPINE_VERSION=${ALPINE_VERSION} + - BASE_IMAGE=registry.nulo.in/sutty/monit + 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 59c5898..d93a8d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,4 @@ -FROM sutty/monit:latest +ARG ALPINE_VERSION=3.13.6 +ARG BASE_IMAGE=sutty/monit +FROM ${BASE_IMAGE}:${ALPINE_VERSION} MAINTAINER "f "