0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

fix: fix production docker images naming

This commit is contained in:
Andrey Antukh 2019-07-03 18:46:46 +02:00
parent adfd40cde7
commit 7cedc9228e
2 changed files with 6 additions and 6 deletions

View file

@ -30,7 +30,7 @@ services:
# - /etc/timezone:/etc/timezone:ro
uxbackend:
image: uxbox-backend:latest
image: uxbox-production-backend:latest
container_name: uxbackend
# restart: always
depends_on:
@ -69,7 +69,7 @@ services:
- UXBOX_SECRET="foobar"
uxfrontend:
image: uxbox-frontend:latest
image: uxbox-production-frontend:latest
container_name: uxfrontend
#hostname: uxbox.io
restart: always

View file

@ -108,8 +108,8 @@ function build-release-frontend {
cp -vr frontend/dist docker/release.frontend/ || exit 1;
docker build --rm=true \
-t ${IMGNAME}-frontend:$REV \
-t ${IMGNAME}-frontend:latest \
-t uxbox-production-frontend:$REV \
-t uxbox-production-frontend:latest \
docker/release.frontend/;
rm -rf docker/release.frontend/dist || exit 1;
@ -135,8 +135,8 @@ function build-release-backend {
cp -vr backend/dist docker/release.backend/ || exit 1;
docker build --rm=true \
-t ${IMGNAME}-backend:$REV \
-t ${IMGNAME}-backend:latest \
-t uxbox-production-backend:$REV \
-t uxbox-production-backend:latest \
docker/release.backend/;
rm -rf docker/release.backend/dist || exit 1;