Skip to content
Snippets Groups Projects
Commit 6226e93c authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Fix gitlab-ci docker-compose command

parent f18cb65b
No related branches found
No related tags found
1 merge request!19Development
Pipeline #
...@@ -20,7 +20,7 @@ build_development: ...@@ -20,7 +20,7 @@ build_development:
script: script:
- export TAG=dev - export TAG=dev
- export NGINX_PORT=8081 - export NGINX_PORT=8081
- docker-compose build nginx-app --build-arg build-conf=dev - docker-compose build --build-arg build-conf=dev nginx-app
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push - docker-compose push
...@@ -33,7 +33,7 @@ build_release: ...@@ -33,7 +33,7 @@ build_release:
script: script:
- export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g') - export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g')
- export NGINX_PORT=8081 - export NGINX_PORT=8081
- docker-compose build nginx-app --build-arg build-conf=prod - docker-compose build --build-arg build-conf=prod nginx-app
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push - docker-compose push
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment