This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user