fix(deploy): update env
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 26s
Build, Test and Deploy / build-and-push (push) Successful in 13s
Build, Test and Deploy / deploy (push) Successful in 8s

This commit is contained in:
2026-02-18 22:04:22 +01:00
parent 87f43f2239
commit 2189e58cc6
2 changed files with 3 additions and 5 deletions

View File

@@ -156,11 +156,11 @@ jobs:
DB_PASS="${{ secrets.DB_PASSWORD_DEV }}" DB_PASS="${{ secrets.DB_PASSWORD_DEV }}"
fi fi
# 4. Append DB and Docker credentials # 4. Append DB and Docker credentials (quoted)
printf '\nDB_URL=%s\nDB_USERNAME=%s\nDB_PASSWORD=%s\n' \ printf '\nDB_URL="%s"\nDB_USERNAME="%s"\nDB_PASSWORD="%s"\n' \
"$DB_URL" "$DB_USER" "$DB_PASS" >> /tmp/full_env.env "$DB_URL" "$DB_USER" "$DB_PASS" >> /tmp/full_env.env
printf 'REGISTRY_URL=%s\nREPO_OWNER=%s\nTAG=%s\n' \ printf 'REGISTRY_URL="%s"\nREPO_OWNER="%s"\nTAG="%s"\n' \
"${{ secrets.REGISTRY_URL }}" "$DEPLOY_OWNER" "$DEPLOY_TAG" >> /tmp/full_env.env "${{ secrets.REGISTRY_URL }}" "$DEPLOY_OWNER" "$DEPLOY_TAG" >> /tmp/full_env.env
# 5. Debug: print content (for debug purposes) # 5. Debug: print content (for debug purposes)

View File

@@ -1,5 +1,3 @@
version: '3.8'
services: services:
backend: backend:
# L'immagine usa il tag specificato nel file .env o passato da riga di comando # L'immagine usa il tag specificato nel file .env o passato da riga di comando