ci: use bridge-internal image

This commit is contained in:
James Houlahan
2020-07-17 10:46:45 +02:00
parent dd73687555
commit 29978b7014
2 changed files with 1 additions and 28 deletions

View File

@ -1,4 +1,4 @@
image: gitlab.protontech.ch:4567/go/bridge/ci
image: gitlab.protontech.ch:4567/go/bridge-internal
before_script:
- eval $(ssh-agent -s)
@ -17,34 +17,11 @@ cache:
policy: pull
stages:
- image
- cache
- test
- build
- mirror
# Stage: IMAGE
build-ci-image:
stage: image
image: docker:stable
before_script: []
cache: {}
tags:
- heavy
only:
changes:
- ci/*
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker info
- docker build -t gitlab.protontech.ch:4567/go/bridge/ci:latest ci
- docker push gitlab.protontech.ch:4567/go/bridge/ci:latest
# Stage: CACHE
# This will ensure latest dependency versions and updates the cache for

View File

@ -1,4 +0,0 @@
FROM gitlab.protontech.ch:4567/go/bridge-internal
RUN apt-get -y update
RUN apt-get -y install openssh-client libsecret-1-dev libgl1-mesa-dev time connect-proxy