Verified Commit 32b901d5 authored by Potz's avatar Potz
Browse files

init

parents
Pipeline #10371 passed with stage
in 17 seconds
before_script:
- docker info
build_image:
tags:
- docker-build
script:
- |
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
tag=""
echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
else
tag=":$CI_COMMIT_BRANCH"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t "$CI_REGISTRY_IMAGE${tag}" .
- docker push "$CI_REGISTRY_IMAGE${tag}"
except:
- /^dev_.*$/
FROM alpine:3
RUN apk -U upgrade && \
apk add --no-cache bash git curl && \
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ helm
CMD bash
\ No newline at end of file
# Build Image for Helm
base: `alpine:3`. Image for creating Helm images.
\ No newline at end of file
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