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