#814 Docker image tag equal to git branch name

This commit is contained in:
Juan Ferrer 2019-01-02 02:20:51 +01:00
parent fff63f3e65
commit f0880a0c54
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ services:
dockerfile: services/nginx/Dockerfile
ports:
- ${PORT}:80
image: salix-app:latest
image: salix-app:${BRANCH_NAME}
restart: unless-stopped
links:
- api
@ -15,6 +15,6 @@ services:
environment:
NODE_ENV: ${NODE_ENV}
restart: unless-stopped
image: salix-api:latest
image: salix-api:${BRANCH_NAME}
volumes:
- /containers/salix:/etc/salix