diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56aa7fd..2a22b0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,11 +21,9 @@ dockerize: docker push $IMAGE_NAME:${CI_COMMIT_TAG}; fi -deploy: +.deploy: image: registry.hottis.de/dockerized/docker-bash:latest stage: deploy - tags: - - saerbeck-deployment-only only: - tags variables: @@ -50,6 +48,17 @@ deploy: -e "PGDATABASE=$PGDATABASE" $IMAGE_NAME:$CI_COMMIT_TAG - docker network connect external-network $CONTAINER_NAME + +deploy-saerbeck: + extends: .deploy + tags: + - saerbeck-deployment-only environment: name: production +deploy-berresheim: + extends: .deploy + tags: + - berresheim-deployment-only + environment: + name: production-berresheim