This commit is contained in:
@@ -81,9 +81,9 @@ jobs:
|
|||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
env: |
|
build-args: |
|
||||||
ALLOWED_HOSTS: 'django.tryton.geeraert.eu'
|
ALLOWED_HOSTS='django.tryton.geeraert.eu'
|
||||||
DEBUG: 'True'
|
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 }}
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ ENV PYTHONUNBUFFERED 1
|
|||||||
#ENV ALLOWED_HOSTS 'django.tryton.geeraert.eu'
|
#ENV ALLOWED_HOSTS 'django.tryton.geeraert.eu'
|
||||||
#ENV DEBUG 'True'
|
#ENV DEBUG 'True'
|
||||||
|
|
||||||
|
ARG ALLOWED_HOSTS
|
||||||
|
ARG DEBUG
|
||||||
|
ENV ALLOWED_HOSTS=$ALLOWED_HOSTS
|
||||||
|
ENV DEBUG=$DEBUG
|
||||||
|
|
||||||
WORKDIR /code/
|
WORKDIR /code/
|
||||||
|
|
||||||
# Copy only the requirements file first (Changes infrequently)
|
# Copy only the requirements file first (Changes infrequently)
|
||||||
|
|||||||
Reference in New Issue
Block a user