Commit 7b6f2ef1 authored by Björn Bartels's avatar Björn Bartels

Update Dockerfile, .gitlab-ci.yml files

parent 31692b96
......@@ -17,6 +17,6 @@ docker-build:
- echo -e "${CI_PIPELINE_SSH_KEY}" > .ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > .ssh/config'
- echo -e "PIPELINE=${CI_PIPELINE_ID}" > env.txt
- docker login harbor.bjoernbartels.earth:8013 -u "$CI_HARBOR_USERNAME" -p "$CI_HARBOR_PASSWORD"
- docker build -t harbor.bjoernbartels.earth:8013/k8s-demo/${CI_PROJECT_NAME}:latest .
- docker push harbor.bjoernbartels.earth:8013/k8s-demo/${CI_PROJECT_NAME}:latest
- docker login -u "$CI_DOCKER_USERNAME" -p "$CI_DOCKER_TOKEN"
- docker build -t bbdrummer/${CI_PROJECT_NAME}:latest .
- docker push bbdrummer/${CI_PROJECT_NAME}:latest
......@@ -2,7 +2,8 @@ FROM node:10-jessie
VOLUME /tmp
MAINTAINER k8s-demo Development <coding@bjoernbartels.earth>
LABEL maintainer="Björn Bartels <coding@bjoernbartels.earth>"
#RUN apk add --no-cache tzdata
ENV TZ=Europe/Berlin
......
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