From 73bd01f7b6cf67b977654d47c5364a6de9799d67 Mon Sep 17 00:00:00 2001 From: William Luke Date: Sun, 14 Jul 2024 17:26:53 -0500 Subject: [PATCH] Forgejo does not support build cache --- .forgejo/workflows/docker.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/docker.yml b/.forgejo/workflows/docker.yml index a606c5556..fce6183b3 100644 --- a/.forgejo/workflows/docker.yml +++ b/.forgejo/workflows/docker.yml @@ -4,7 +4,7 @@ on: - 'v*' env: - GHCR_NAMESPACE: signaryk + GHCR_NAMESPACE: sigb.us PLATFORMS: linux/amd64 FORGEJO_USER: signaryk @@ -37,8 +37,6 @@ jobs: id: docker_build_monolith uses: docker/build-push-action@v3 with: - cache-from: type=registry,ref=git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache - cache-to: type=registry,ref=git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache,mode=max context: . platforms: ${{ env.PLATFORMS }} push: true @@ -52,12 +50,10 @@ jobs: id: docker_build_monolith_release uses: docker/build-push-action@v3 with: - cache-from: type=gha - cache-to: type=gha,mode=max context: . platforms: ${{ env.PLATFORMS }} push: true tags: | - git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:latest - git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:stable - git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:${{ env.RELEASE_VERSION }} + git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:latest + git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:stable + git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:${{ env.RELEASE_VERSION }}