mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix cache?
This commit is contained in:
parent
20f07f5599
commit
bcc71175a5
1 changed files with 20 additions and 18 deletions
|
|
@ -35,6 +35,26 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push backend
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
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=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
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
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=ghcr.io/omnivore-app/queue-processor:latest
|
||||
cache-to: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest,mode=max
|
||||
|
||||
- name: Build and push image-proxy
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
|
@ -76,22 +96,4 @@ jobs:
|
|||
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
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
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=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
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
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=ghcr.io/omnivore-app/queue-processor:latest
|
||||
cache-to: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest,mode=max
|
||||
|
|
|
|||
Loading…
Reference in a new issue