Made documentation ready for production

This commit is contained in:
2025-02-13 19:11:06 +01:00
parent 93d41ad6d3
commit 9a66f88f3c
19 changed files with 58 additions and 87 deletions

View File

@@ -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