Skip to content
Snippets Groups Projects
Commit d1aa9de3 authored by Matthias Stefan Bodenbenner's avatar Matthias Stefan Bodenbenner
Browse files

fixed pipeline

parent 5354eb0d
No related branches found
No related tags found
No related merge requests found
Pipeline #456114 passed
......@@ -3,10 +3,10 @@ variables:
stages:
- build
- push
# - push
- deploy
Build Container:
Build and Push Container:
image: docker:20.10
stage: build
rules:
......@@ -19,19 +19,6 @@ Build Container:
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY/$CI_PROJECT_PATH .
Push Container:
image: docker:20.10
stage: push
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
changes:
- src/*
- requirements.txt
tags:
- frodo
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY/$CI_PROJECT_PATH:latest
Deploy Container:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment