diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 1821dca..a046754 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -48,8 +48,8 @@ jobs: VERSION=${{ github.ref_name }} RELEASE=${{ github.run_number }} platforms: linux/amd64 - # cache-from: type=gha - # cache-to: type=gha,mode=max + cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache + cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache,mode=max docker-dev: runs-on: ubuntu-latest @@ -87,8 +87,8 @@ jobs: VERSION=dev RELEASE=${{ github.run_number }} platforms: linux/amd64 - # cache-from: type=gha - # cache-to: type=gha,mode=max + cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache + cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache,mode=max docker-forge: runs-on: ubuntu-latest @@ -127,5 +127,5 @@ jobs: VERSION=forge RELEASE=${{ github.run_number }} platforms: linux/amd64 - # cache-from: type=gha - # cache-to: type=gha,mode=max + cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache + cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui:cache,mode=max