use new s6-rc layout

This commit is contained in:
Sebastian Hugentobler 2022-02-15 16:11:07 +01:00
parent 31a9e580a1
commit d217375670
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
7 changed files with 18 additions and 11 deletions

View File

@ -1,12 +1,18 @@
stages:
- build
variables:
IMAGE_NAME: thallian/molly-brown
CI_BUILD_ARCHS: "linux/amd64,linux/arm64"
CONTAINER_NAME: thallian/molly-brown
build:
stage: build
script:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- docker buildx build --platform "$CI_BUILD_ARCHS" --progress plain --pull --tag "$IMAGE_NAME:$CI_COMMIT_SHA" --tag "$IMAGE_NAME:$CI_COMMIT_REF_NAME" --tag "$IMAGE_NAME:latest" --push .
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
- >-
/kaniko/executor
--context "$CI_PROJECT_DIR"
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
--destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME"
--destination "$CONTAINER_NAME:latest"

View File

@ -1,4 +1,4 @@
FROM golang:1.15.0-alpine3.12 AS builder
FROM golang:1.17.7-alpine3.15 AS builder
ENV GO111MODULE=on

View File

@ -1 +0,0 @@
/var/gemini/ true molly-brown:molly-brown 0666 0777

View File

@ -0,0 +1 @@
confd

View File

@ -0,0 +1 @@
longrun