should be good now
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m53s

This commit is contained in:
Pierre Geeraert
2025-12-04 16:16:31 +00:00
parent d4b67906cd
commit 8f30fdb88c
2 changed files with 3 additions and 14 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
# paths:
# - 'requirements.txt'
paths:
- 'requirements.txt'
jobs:
Explore-Gitea-Actions:
+1 -12
View File
@@ -1,20 +1,9 @@
FROM gitea.tryton.geeraert.eu/pi-ux-ce/python:3
FROM gitea.tryton.geeraert.eu/pi-ux-ce/modified-python:latest
ENV PYTHONUNBUFFERED 1
WORKDIR /code/
# Copy only the requirements file first (Changes infrequently)
COPY requirements.txt ./
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
RUN --mount=type=cache,target=/root/.cache/pip pip list --outdated
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade wheel
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade setuptools
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
COPY . ./
RUN python django_code/manage.py migrate