Commit 98a1e924 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

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