Commit 2c105dcf authored by David's avatar David

Demo

parent 4ab3133b
Pipeline #96 failed with stages
in 1 minute and 6 seconds
default:
image: docker:stable
services:
- docker:dind
stages:
- pre_git
- prepare
- build
variables:
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
Git Container:
stage: pre_git
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $CONTAINER_TEST_IMAGE || true
- docker build --cache-from $ONTAINER_TEST_IMAGE --tag $CONTAINER_TEST_IMAGE .
- docker push $CONTAINER_TEST_IMAGE
Any Prep:
stage: prepare
image: $CONTAINER_TEST_IMAGE
script:
- git clone https://github.com/matrix-org/matrix-appservice-irc.git
FROM alpine:latest
LABEL maintainer="David Kowis <david@kow.is>"
RUN apk update \
&& apk upgrade \
&& apk add --no-cache bash git openssh
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