This commit is contained in:
@@ -24,12 +24,11 @@ jobs:
|
||||
key: pip
|
||||
restore-keys: pip
|
||||
|
||||
- name: Cache docker-ci
|
||||
uses: actions/cache@v4
|
||||
- name: inject cache into docker
|
||||
uses: reproducible-containers/buildkit-cache-dance@v3.1.0
|
||||
with:
|
||||
path: /root/.cache/docker-ci
|
||||
key: docker-ci
|
||||
restore-keys: docker-ci
|
||||
cache-source: /root/.cache/pip
|
||||
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
@@ -47,8 +46,9 @@ 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=/root/.cache/docker-ci
|
||||
cache-to: type=local,dest=/root/.cache/docker-ci,mode=max
|
||||
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
|
||||
|
||||
- name: drop the pod to force pulling the new image
|
||||
uses: actions-hub/kubectl@master
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user