Rotate old cache
All checks were successful
Build and push container image / build (push) Successful in 7m50s
All checks were successful
Build and push container image / build (push) Successful in 7m50s
This commit is contained in:
parent
1698e7d42b
commit
f44462064b
@ -32,8 +32,14 @@ jobs:
|
|||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
|
uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: git.toast-server.net/toast/kon:main
|
tags: git.toast-server.net/toast/kon:main
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache-kon
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache,mode=max
|
cache-from: type=local,src=/tmp/.buildx-cache,mode=max
|
||||||
|
|
||||||
|
- name: Rotate cache
|
||||||
|
run: |
|
||||||
|
rm -rf /tmp/.buildx-cache && \
|
||||||
|
mv /tmp/.buildx-cache-kon /tmp/.buildx-cache
|
||||||
|
Loading…
Reference in New Issue
Block a user