moving the env variables

This commit is contained in:
2026-03-17 09:47:51 +00:00
parent dc0e006e0f
commit c3ba43b0fa
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -81,6 +81,9 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
push: true push: true
build-args:
ALLOWED_HOSTS: 'django.tryton.geeraert.eu'
DEBUG: 'True'
tags: | tags: |
gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
gitea.tryton.geeraert.eu/pi-ux-ce/django-python:${{ env.next_version }} gitea.tryton.geeraert.eu/pi-ux-ce/django-python:${{ env.next_version }}
+2 -2
View File
@@ -1,8 +1,8 @@
FROM gitea.tryton.geeraert.eu/pi-ux-ce/python:3 FROM gitea.tryton.geeraert.eu/pi-ux-ce/python:3
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
ENV ALLOWED_HOSTS 'django.tryton.geeraert.eu' #ENV ALLOWED_HOSTS 'django.tryton.geeraert.eu'
ENV DEBUG 'True' #ENV DEBUG 'True'
WORKDIR /code/ WORKDIR /code/