ci: optimize compose build flags and remove obsolete compose version tags
Deploy Canina / deploy (push) Waiting to run
Deploy Canina / deploy (push) Waiting to run
This commit is contained in:
1 parent
f880b942f1
commit
ae9e82b5eb
6 files changed
+550
-553
No files matched your search
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
db_prod:
|
||||
image: postgres:16-alpine
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
db_stage:
|
||||
image: postgres:16-alpine
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ echo "Using Nexus npm proxy: $NPM_REGISTRY"
|
||||
NPM_REGISTRY_ARG="--build-arg NPM_REGISTRY=${NPM_REGISTRY}"
|
||||
|
||||
echo "Building Docker images..."
|
||||
docker compose build --progress=plain \
|
||||
docker compose --progress plain build \
|
||||
--build-arg NEXT_PUBLIC_API_URL="${API_URL}/api" \
|
||||
--build-arg VITE_API_URL="${API_URL}" \
|
||||
${NPM_REGISTRY_ARG}
|
||||
|
||||
Reference in new issue
Block a user