From f0880a0c54d9e8766ce171990f3812f38588d22c Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 2 Jan 2019 02:20:51 +0100 Subject: [PATCH] #814 Docker image tag equal to git branch name --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 32672f080..50c1a9451 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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