change database configuration to env vars, fix

This commit is contained in:
Wolfgang Hottgenroth 2023-09-27 12:01:15 +02:00
parent b555c9a37f
commit 053927e329
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -13,7 +13,7 @@ build:
- linux
- docker
script:
- docker build --tag $IMAGE_NAME:${CI_COMMIT_SHORT_SHA} .
- docker build --build-arg="VERSION=${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TAG}" --tag $IMAGE_NAME:${CI_COMMIT_SHORT_SHA} .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY;
- docker push $IMAGE_NAME:${CI_COMMIT_SHORT_SHA}
- if [ "$CI_COMMIT_TAG" != "" ]; then