Commit d990cd1d authored by David's avatar David
Browse files

Updating to use registry proxy

parent 6efe2d69
Pipeline #627 passed with stage
in 50 seconds
......@@ -3,11 +3,12 @@ variables:
build:
image: docker:stable
image: registry.light.kow.is/docker-hub/library/docker:stable
stage: build
script:
- docker login -u $REGISTRY_USER -p $REGISTRY_PASS registry.light.kow.is
- docker login -u $PROXY_REGISTRY_USER -p $PROXY_REGISTRY_PASS registry.light.kow.is
- docker pull registry.light.kow.is/docker-hub/roundcube/roundcubemail:latest-fpm-alpine
- cd roundcube
- docker login -u $REGISTRY_USER -p $REGISTRY_PASS registry.light.kow.is
- docker build --tag $REGISTRY_IMAGE:latest .
- docker push $REGISTRY_IMAGE:latest
......@@ -5,7 +5,7 @@ services:
container_name: roundcubemail_nginx
depends_on:
- roundcubemail
image: nginx:latest
image: registry.light.kow.isnginx:latest
restart: always
ports:
- '${HTTP_PORT:-8080}:80'
......
FROM roundcube/roundcubemail:latest-fpm-alpine
FROM registry.light.kow.is/docker-hub/roundcube/roundcubemail:latest-fpm-alpine
RUN apk update \
&& apk add ca-certificates git \
......
Supports Markdown
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