#814 Docker image tag equal to git branch name
This commit is contained in:
parent
fff63f3e65
commit
f0880a0c54
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue