Compare commits

..

4 commits

Author SHA1 Message Date
f
95a7bb6915 ci
Some checks failed
continuous-integration/woodpecker the build failed
2021-10-09 13:26:56 -03:00
f
8c7863746f Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2021-10-09 13:25:59 -03:00
f
3dfc34388c ci 2021-10-03 20:19:00 -03:00
f
c06dc5a527
Enable CI 2020-04-10 19:55:35 -03:00
3 changed files with 36 additions and 1 deletions

11
.gitlab-ci.yml Normal file
View file

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

22
.woodpecker.yml Normal file
View file

@ -0,0 +1,22 @@
pipeline:
publish:
image: plugins/docker
registry: registry.nulo.in
repo: registry.nulo.in/sutty/postgresql
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

View file

@ -1,4 +1,6 @@
FROM sutty/monit:latest
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>"
ENV PGBASE /var/lib/postgresql