Fixed pipeline
This commit is contained in:
@@ -49,6 +49,11 @@ build:
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
needs: ["build"]
|
||||
image: docker:latest
|
||||
services:
|
||||
- name: docker:dind
|
||||
alias: docker
|
||||
script:
|
||||
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
|
||||
- docker login -u leon.hoppe -p ${CI_REGISTRY_PASSWORD} registry.leon-hoppe.de
|
||||
@@ -57,5 +62,3 @@ publish:
|
||||
- docker push registry.leon-hoppe.de/leon.hoppe/worktime:latest
|
||||
only:
|
||||
- tags
|
||||
dependencies:
|
||||
- build
|
||||
|
||||
Reference in New Issue
Block a user