Verified Commit bdff803d authored by micah's avatar micah

switch to the glue include

parent 89a1f668
Pipeline #32895 passed with stages
in 7 minutes and 4 seconds
image: docker:latest
services:
- docker:dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
RELEASE_TAG: $CI_REGISTRY_IMAGE:latest
stages:
- build
- release
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.0xacab.org
build:
stage: build
tags:
- docker-in-docker
script:
- docker build --pull -t $IMAGE_TAG .
- docker push $IMAGE_TAG
release:
stage: release
tags:
- docker-in-docker
script:
- docker pull $IMAGE_TAG
- docker tag $IMAGE_TAG $RELEASE_TAG
- docker push $RELEASE_TAG
only:
- master
---
include:
- 'https://0xacab.org/leap/container-platform/glue/raw/master/.gitlab-ci.yml'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment