EOX GitLab Instance

Commit bc1d4352 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Fixing deploy stage image name

parent 7a7a8097
Pipeline #17415 failed with stages
in 50 seconds
......@@ -11,12 +11,12 @@ test:
- pytest
deploy:
image: docker:20.10.8-dind
stage: deploy
image: docker:20.10.8
services:
- docker:20.10.8-dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stage: deploy
script:
- docker build -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
......@@ -24,12 +24,12 @@ deploy:
- tags
deploy-latest:
image: docker:20.10.8-dind
stage: deploy
image: docker:20.10.8
services:
- docker:20.10.8-dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stage: deploy
script:
- docker pull $CI_REGISTRY_IMAGE:latest
- docker build -t $CI_REGISTRY_IMAGE --cache-from $CI_REGISTRY_IMAGE:latest .
......
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