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