Commit 32e7143f authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch 'new_baseimage' into 'master'

added new image reference

See merge request !6
parents 8b588b74 8ef74916
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
only:
- tags
include:
- project: 'histhub/node-kafka-docker-base'
ref: 'master'
file: '.gitlab-ci.yml'
FROM node:10-slim
# add basic libs
RUN apt-get update && apt-get install -y \
bash \
g++ \
gcc \
ca-certificates \
make \
python \
bash \
git
# Create app directory
RUN mkdir -p /usr/local/app
# Move to the app directory
WORKDIR /usr/local/app
FROM source.dodis.ch:4577/histhub/node-kafka-docker-base:latest
# copy app to the container
COPY package.json package-lock.json config.json tsconfig.json /usr/local/app/
......
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