Skip to content
Snippets Groups Projects
Unverified Commit d243748c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files
parents 6a320bc3 e0b804c7
No related branches found
No related tags found
No related merge requests found
Pipeline #179368 failed
image: quay.io/buildah/stable:latest
variables:
STORAGE_DRIVER: vfs
BUILDAH_FORMAT: docker
BUILDAH_ISOLATION: chroot
GIT_SUBMODULE_STRATEGY: recursive
stages:
......@@ -12,13 +7,22 @@ stages:
build docker image:
stage: build
script:
- buildah bud -t teckids.org:latest
interruptible: true
retry: 1
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_REF_NAME
--cache=true
--cleanup
build pages:
stage: build
image: alpine:latest
before_script:
- apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola
- apk add yarn
......@@ -29,8 +33,6 @@ build pages:
artifacts:
paths:
- public/
only:
- master
push docker image:
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment