dev #8
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user