Commit 38789349 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent c2819fdc
......@@ -10,20 +10,28 @@ stages:
- build
- deploy
prime-container:
buildah-container:
stage: build
services:
- mirror.gcr.io/docker
only:
changes:
- prime/*
- .gitlab-ci.yml
image: quay.io/buildah/stable
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- cd prime
- docker build -t $CI_REGISTRY_IMAGE/prime:$VERSION -t $CI_REGISTRY_IMAGE/prime:latest .
- docker push $CI_REGISTRY_IMAGE/prime:$VERSION
- docker push $CI_REGISTRY_IMAGE/prime:latest
- buildah version
#prime-container:
# stage: build
# services:
# - mirror.gcr.io/docker
# only:
# changes:
# - prime/*
# - .gitlab-ci.yml
# script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# - cd prime
# - docker build -t $CI_REGISTRY_IMAGE/prime:$VERSION -t $CI_REGISTRY_IMAGE/prime:latest .
# - docker push $CI_REGISTRY_IMAGE/prime:$VERSION
# - docker push $CI_REGISTRY_IMAGE/prime:latest
prime-storage:
stage: prepare
......
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