diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c037590..f35b5dd 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -30,11 +30,15 @@ jobs: - name: Set up build cache uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 # v3 + - name: Build and push image uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 with: platforms: linux/amd64 push: true + load: true tags: git.toast-server.net/toast/kon:main - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=git.toast-server.net/toast/kon:buildcache + cache-to: type=registry,ref=git.toast-server.net/toast/kon:buildcache,mode=max