This commit is contained in:
@@ -24,12 +24,11 @@ jobs:
|
|||||||
key: pip
|
key: pip
|
||||||
restore-keys: pip
|
restore-keys: pip
|
||||||
|
|
||||||
- name: Cache docker-ci
|
- name: inject cache into docker
|
||||||
uses: actions/cache@v4
|
uses: reproducible-containers/buildkit-cache-dance@v3.1.0
|
||||||
with:
|
with:
|
||||||
path: /root/.cache/docker-ci
|
cache-source: /root/.cache/pip
|
||||||
key: docker-ci
|
|
||||||
restore-keys: docker-ci
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@@ -47,8 +46,9 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
#build-contexts: pip_cache=${{steps.vars.outputs.pip-dir}}
|
#build-contexts: pip_cache=${{steps.vars.outputs.pip-dir}}
|
||||||
tags: gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
|
tags: gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
|
||||||
cache-from: type=local,src=/root/.cache/docker-ci
|
cache-from: type=registry,ref=gitea.tryton.geeraert.eu/pi-ux-ce/django-python:buildcache
|
||||||
cache-to: type=local,dest=/root/.cache/docker-ci,mode=max
|
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
|
- name: drop the pod to force pulling the new image
|
||||||
uses: actions-hub/kubectl@master
|
uses: actions-hub/kubectl@master
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user