fix:#59 fixed image tag

This commit is contained in:
Elmar Kresse
2024-04-21 02:18:33 +02:00
parent e127575912
commit 66c0151842
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ deploy-dev:
- ssh-add <(echo "$CI_SSH_KEY" | tr -d '\r') - ssh-add <(echo "$CI_SSH_KEY" | tr -d '\r')
script: script:
# replace some placeholders # replace some placeholders
- sed -i -e "s|REGISTRY_REPO|$CI_REGISTRY_REPO|" docker-compose.dev.yml # Assuming you have a separate docker-compose file for development - sed -i -e "s|DOCKER_REGISTRY_REPO|$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG|" docker-compose.dev.yml # Assuming you have a separate docker-compose file for development
# upload necessary files to the dev server # upload necessary files to the dev server
- > - >
scp -P $CI_SSH_PORT -o StrictHostKeyChecking=no -o LogLevel=ERROR ./docker-compose.dev.yml ./reverseproxy.dev.conf scp -P $CI_SSH_PORT -o StrictHostKeyChecking=no -o LogLevel=ERROR ./docker-compose.dev.yml ./reverseproxy.dev.conf

View File

@ -16,7 +16,7 @@
services: services:
htwkalender-backend: htwkalender-backend:
image: DOCKER_REGISTRY_REPO:backend # DOCKER_REGISTRY_REPO will be replaced by CI image: DOCKER_REGISTRY_REPO-backend # DOCKER_REGISTRY_REPO will be replaced by CI
command: "--http=0.0.0.0:8090 --dir=/htwkalender/data/pb_data" command: "--http=0.0.0.0:8090 --dir=/htwkalender/data/pb_data"
pull_policy: always pull_policy: always
restart: always restart: always
@ -26,7 +26,7 @@ services:
- "net" - "net"
htwkalender-frontend: htwkalender-frontend:
image: DOCKER_REGISTRY_REPO:frontend # DOCKER_REGISTRY_REPO will be replaced by CI image: DOCKER_REGISTRY_REPO-frontend # DOCKER_REGISTRY_REPO will be replaced by CI
pull_policy: always pull_policy: always
restart: always restart: always
depends_on: depends_on: