modify cache directory
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Pierre Geeraert
2025-06-03 11:12:46 +01:00
parent 975252656f
commit 5b5093708d
+6 -3
View File
@@ -22,11 +22,14 @@ jobs:
with:
path: /root/.cache/pip
key: pip
restore-keys: pip
- name: Cache docker-ci
uses: actions/cache@v3
with:
path: ~/.cache/docker-ci
path: /root/.cache/docker-ci
key: docker-ci
restore-keys: docker-ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -44,8 +47,8 @@ jobs:
push: true
#build-contexts: pip_cache=${{steps.vars.outputs.pip-dir}}
tags: gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
cache-from: type=local,src=~/.cache/docker-ci
cache-to: type=local,dest=~/.cache/docker-ci,mode=max
cache-from: type=local,src=/root/.cache/docker-ci
cache-to: type=local,dest=/root/.cache/docker-ci,mode=max
- name: drop the pod to force pulling the new image
uses: actions-hub/kubectl@master
env: