attempt to switch to local build cache for Ganymede image build
Some checks failed
CI / Build Jupyter Ganymede docker images (push) Failing after 3h7m5s

This commit is contained in:
2025-05-15 21:51:44 +08:00
parent e62ccd8047
commit f3a6d31b1b

View File

@@ -26,12 +26,12 @@ jobs:
password: ${{ secrets.PUBLISHER_TOKEN }}
-
name: Build and push jupyter-ganymede image
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:jupyter-ganymede"
platforms: linux/amd64,linux/arm64
push: true
pull: true
tags: gitea.woggioni.net/woggioni/jupyter-ganymede:latest
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/jupyter-ganymede:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/jupyter-ganymede:buildx
cache-from: type=local,src=/home/luser/.cache/buildx
cache-to: type=local,dest=/home/luser/.cache/buildx,mode=max