forked from Silverfish/proton-bridge
ci: use bridge-internal image
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
Reference in New Issue
Block a user