Made documentation ready for production
This commit is contained in:
@@ -4,6 +4,7 @@ stages:
|
||||
- build
|
||||
- test
|
||||
- publish
|
||||
- publish-help
|
||||
|
||||
before_script:
|
||||
- echo "Setting up environment"
|
||||
@@ -37,3 +38,16 @@ publish:
|
||||
dependencies:
|
||||
- build
|
||||
- test
|
||||
|
||||
publish-help:
|
||||
stage: publish-help
|
||||
script:
|
||||
- export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//')
|
||||
- docker login -u leon.hoppe -p ${CI_REGISTRY_PASSWORD} registry.leon-hoppe.de
|
||||
- docker build -t registry.leon-hoppe.de/leon.hoppe/hopframe:$VERSION -t registry.leon-hoppe.de/leon.hoppe/hopframe:latest .
|
||||
- docker push registry.leon-hoppe.de/leon.hoppe/hopframe:$VERSION
|
||||
- docker push registry.leon-hoppe.de/leon.hoppe/hopframe:latest
|
||||
only:
|
||||
- tags
|
||||
dependencies:
|
||||
- publish
|
||||
|
||||
Reference in New Issue
Block a user