Commit 47e4f722 authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files
parents 4bfbd0a6 1ba1b353
......@@ -66,8 +66,9 @@ deploy_staging:
- envsubst < config.template.yml > config.yml
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- TAG=dev docker-compose pull
- docker tag $CI_REGISTRY/refonte-data/content-indexer:dev $CI_REGISTRY/refonte-data/content-indexer:${TAG}
- docker push $CI_REGISTRY/refonte-data/content-indexer:${TAG}
- export REGISTRY_PATH=web-et-numerique/web-et-numerique-internet/data.grandlyon.com/web-portal/components/indexers/editorial-content
- docker tag $CI_REGISTRY/$REGISTRY_PATH:dev $CI_REGISTRY/$REGISTRY_PATH:${TAG}
- docker push $CI_REGISTRY/$REGISTRY_PATH:${TAG}
- docker-compose --project-name content-indexer-${TAG} up -d --force-recreate
environment:
name: staging
......@@ -3,7 +3,7 @@ version: "3.0"
services:
api:
build: .
image: registry.alpha.grandlyon.com/refonte-data/content-indexer:${TAG}
image: registry.forge.grandlyon.com/web-et-numerique/web-et-numerique-internet/data.grandlyon.com/web-portal/components/indexers/editorial-content:${TAG}
ports:
- ${CONTENT_INDEXER_BIND_PORT}:8000
volumes:
......
{
"name": "content-indexer",
"version": "1.0.0",
"version": "1.1.3",
"description": "",
"main": "lib/jwt_factory.js",
"directories": {
......@@ -20,4 +20,4 @@
},
"author": "",
"license": "ISC"
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment