From 20f07f5599ec0fc729cd3e91c77b06a8aa539e34 Mon Sep 17 00:00:00 2001 From: Thomas Rogers Date: Thu, 30 Jan 2025 14:59:23 +0100 Subject: [PATCH] Fix cache? --- .../build-self-host-docker-images.yml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-self-host-docker-images.yml b/.github/workflows/build-self-host-docker-images.yml index 3fc3196b8..2aa58b859 100644 --- a/.github/workflows/build-self-host-docker-images.yml +++ b/.github/workflows/build-self-host-docker-images.yml @@ -43,8 +43,8 @@ jobs: tags: ghcr.io/omnivore-app/sh-image-proxy:latest,ghcr.io/omnivore-app/sh-image-proxy:${{ github.sha }} context: imageproxy/ file: imageproxy/Dockerfile - cache-from: type=registry,ref=omnivore-app/sh-image-proxy:latest - cache-to: type=registry,ref=omnivore-app/sh-image-proxy:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-image-proxy:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-image-proxy:latest,mode=max - name: Build and push content-fetch uses: docker/build-push-action@v6 @@ -53,8 +53,8 @@ jobs: push: true tags: ghcr.io/omnivore-app/sh-content-fetch:latest,ghcr.io/omnivore-app/sh-content-fetch:${{ github.sha }} file: packages/content-fetch/Dockerfile - cache-from: type=registry,ref=omnivore-app/sh-content-fetch:latest - cache-to: type=registry,ref=omnivore-app/sh-content-fetch:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-content-fetch:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-content-fetch:latest,mode=max - name: Build and push migrate uses: docker/build-push-action@v6 @@ -63,8 +63,8 @@ jobs: push: true tags: ghcr.io/omnivore-app/sh-migrate:latest,ghcr.io/omnivore-app/sh-migrate:${{ github.sha }} file: packages/db/Dockerfile - cache-from: type=registry,ref=omnivore-app/sh-migrate:latest - cache-to: type=registry,ref=omnivore-app/sh-migrate:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-migrate:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-migrate:latest,mode=max - name: Build and push local-mail-watcher uses: docker/build-push-action@v6 @@ -73,8 +73,8 @@ jobs: push: true tags: ghcr.io/omnivore-app/sh-local-mail-watcher:latest,ghcr.io/omnivore-app/sh-local-mail-watcher:${{ github.sha }} file: packages/local-mail-watcher/Dockerfile - cache-from: type=registry,ref=omnivore-app/sh-local-mail-watcher:latest - cache-to: type=registry,ref=omnivore-app/sh-local-mail-watcher:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:latest,mode=max - name: Build and push backend uses: docker/build-push-action@v6 @@ -83,8 +83,8 @@ jobs: push: true tags: ghcr.io/omnivore-app/sh-backend:latest,ghcr.io/omnivore-app/sh-backend:${{ github.sha }} file: packages/api/Dockerfile - cache-from: type=registry,ref=omnivore-app/sh-backend:latest - cache-to: type=registry,ref=omnivore-app/sh-backend:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest,mode=max - name: Build and push queue-processor uses: docker/build-push-action@v6 @@ -93,5 +93,5 @@ jobs: push: true tags: ghcr.io/omnivore-app/sh-queue-processor:latest,ghcr.io/omnivore-app/sh-queue-processor:${{ github.sha }} file: packages/api/queue-processor/Dockerfile - cache-from: type=registry,ref=omnivore-app/queue-processor:latest - cache-to: type=registry,ref=omnivore-app/queue-processor:latest,mode=max + cache-from: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest + cache-to: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest,mode=max