Commit 8cb71514 authored by Oliver Lippert's avatar Oliver Lippert

Update .gitlab-ci.yml

parent 4b2ebc5c
Pipeline #1835 passed with stage
in 9 minutes and 40 seconds
stages:
- build
build:
stage: build
tags:
- docker
only:
- master
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN lw-scm.de:5500
- docker build -t lw-scm.de:5500/lipperts-web/docker-pmf .
- docker push lw-scm.de:5500/lipperts-web/docker-pmf:latest
\ No newline at end of file
- docker build -t lw-scm.de:5500/lipperts-web/docker-pmf:latest .
- docker push lw-scm.de:5500/lipperts-web/docker-pmf:latest
build-tag:
stage: build
tags:
- docker
only:
- tags
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN lw-scm.de:5500
- docker build -t lw-scm.de:5500/lipperts-web/docker-pmf:$CI_BUILD_REF_NAME .
- docker push lw-scm.de:5500/lipperts-web/docker-pmf:$CI_BUILD_REF_NAME
\ No newline at end of file
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