Skip to content
Snippets Groups Projects
Verified Commit 7847b624 authored by micah's avatar micah :speech_balloon:
Browse files

change back to dind, kaniko is screwing up layers

parent 27e0bda3
No related branches found
No related tags found
No related merge requests found
--- image: docker:latest
include:
- 'https://0xacab.org/leap/container-platform/glue/raw/master/.gitlab-ci.yml' stages:
- build
- release
services:
- docker:dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
RELEASE_TAG: $CI_REGISTRY_IMAGE:latest
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.0xacab.org
build:
stage: build
script:
- docker build --pull -t $IMAGE_TAG .
- docker push $IMAGE_TAG
release:
stage: release
script:
- docker pull $IMAGE_TAG
- docker tag $IMAGE_TAG $RELEASE_TAG
- docker push $RELEASE_TAG
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment