From 2ea7da6d11a44228eec0dc6b1c0bd6322f869798 Mon Sep 17 00:00:00 2001 From: Paulo Henrique Cuchi Date: Thu, 9 Nov 2023 14:49:34 -0300 Subject: [PATCH 1/4] Update version on the README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c169d0..c99eaff 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ to easily run it in your GitHub workflows. # Using input variables ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.0 + uses: cuchi/jinja2-action@v1.2.2 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf @@ -21,7 +21,7 @@ to easily run it in your GitHub workflows. # Using data files ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.0 + uses: cuchi/jinja2-action@v1.2.2 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf @@ -32,7 +32,7 @@ to easily run it in your GitHub workflows. # Using environment variables ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.0 + uses: cuchi/jinja2-action@v1.2.2 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf From d29a2741085a8c703e0dd892c9bc56dc4c9a07f7 Mon Sep 17 00:00:00 2001 From: Lasith Koswatta Gamage Date: Mon, 28 Oct 2024 10:39:09 +1100 Subject: [PATCH 2/4] (perf): Convert Python base image to python:3.11-alpine --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 619ef5a..28fda72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11 +FROM python:3.11-slim WORKDIR /app ENTRYPOINT ["/app/entrypoint.py"] @@ -8,4 +8,5 @@ RUN pip install poetry \ && poetry config virtualenvs.create false \ && poetry install -COPY . ./ +COPY *.py ./ +COPY test/ ./test From c9a4d5de1d2dab473307f4417411a584e2324469 Mon Sep 17 00:00:00 2001 From: Olivier Berghmans Date: Mon, 6 Jan 2025 10:29:56 +0100 Subject: [PATCH 3/4] fix: solve poetry requirement for README.md --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 619ef5a..2f669c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM python:3.11 WORKDIR /app ENTRYPOINT ["/app/entrypoint.py"] -COPY poetry.lock pyproject.toml ./ +COPY poetry.lock pyproject.toml README.md ./ RUN pip install poetry \ && poetry config virtualenvs.create false \ - && poetry install + && poetry install --no-root COPY . ./ From 8bd801365a8d36a0b20f45ee969161685de7785a Mon Sep 17 00:00:00 2001 From: Paulo Henrique Cuchi Date: Fri, 17 Jan 2025 15:53:14 -0300 Subject: [PATCH 4/4] v1.3.0 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c99eaff..b063d5f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ to easily run it in your GitHub workflows. # Using input variables ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.2 + uses: cuchi/jinja2-action@v1.3.0 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf @@ -21,7 +21,7 @@ to easily run it in your GitHub workflows. # Using data files ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.2 + uses: cuchi/jinja2-action@v1.3.0 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf @@ -32,7 +32,7 @@ to easily run it in your GitHub workflows. # Using environment variables ```yml - name: Setup nginx - uses: cuchi/jinja2-action@v1.2.2 + uses: cuchi/jinja2-action@v1.3.0 with: template: infra/nginx.conf.j2 output_file: infra/nginx.conf