Update .gitea/workflows/dockerfile_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 46s

This commit is contained in:
2025-12-02 09:55:09 +00:00
parent aa851a7779
commit 9024a1eab6
+17 -1
View File
@@ -16,6 +16,7 @@ jobs:
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Compute next version
id: versioning
run: |
@@ -25,6 +26,19 @@ jobs:
echo "Variables used :"
echo "------------------------------------------------"
echo "Next version: $next_version"
- name: Cache pip
uses: actions/cache@v3
with:
path: /root/.cache/pip
key: pip
restore-keys: pip
- name: inject cache into docker
uses: reproducible-containers/buildkit-cache-dance@v3.1.0
with:
cache-source: /root/.cache/pip
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -39,7 +53,9 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
tags: |
gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
gitea.tryton.geeraert.eu/pi-ux-ce/django-python:${{next_version}}
cache-from: type=registry,ref=gitea.tryton.geeraert.eu/pi-ux-ce/django-python:buildcache
cache-to: type=registry,ref=gitea.tryton.geeraert.eu/pi-ux-ce/django-python:buildcache,mode=max