|
43 | 43 | tags: ghcr.io/omnivore-app/sh-image-proxy:latest,ghcr.io/omnivore-app/sh-image-proxy:${{ github.sha }}
|
44 | 44 | context: imageproxy/
|
45 | 45 | file: imageproxy/Dockerfile
|
| 46 | + cache-from: type=registry,ref=omnivore-app/sh-image-proxy:latest |
| 47 | + cache-to: type=inline,mode=min |
46 | 48 |
|
47 | 49 | - name: Build and push content-fetch
|
48 | 50 | uses: docker/build-push-action@v6
|
|
51 | 53 | push: true
|
52 | 54 | tags: ghcr.io/omnivore-app/sh-content-fetch:latest,ghcr.io/omnivore-app/sh-content-fetch:${{ github.sha }}
|
53 | 55 | file: packages/content-fetch/Dockerfile
|
| 56 | + cache-from: type=registry,ref=omnivore-app/sh-content-fetch:latest |
| 57 | + cache-to: type=inline,mode=min |
54 | 58 |
|
55 | 59 | - name: Build and push migrate
|
56 | 60 | uses: docker/build-push-action@v6
|
|
59 | 63 | push: true
|
60 | 64 | tags: ghcr.io/omnivore-app/sh-migrate:latest,ghcr.io/omnivore-app/sh-migrate:${{ github.sha }}
|
61 | 65 | file: packages/db/Dockerfile
|
| 66 | + cache-from: type=registry,ref=omnivore-app/sh-migrate:latest |
| 67 | + cache-to: type=inline,mode=min |
62 | 68 |
|
63 | 69 | - name: Build and push local-mail-watcher
|
64 | 70 | uses: docker/build-push-action@v6
|
|
67 | 73 | push: true
|
68 | 74 | tags: ghcr.io/omnivore-app/sh-local-mail-watcher:latest,ghcr.io/omnivore-app/sh-local-mail-watcher:${{ github.sha }}
|
69 | 75 | file: packages/local-mail-watcher/Dockerfile
|
| 76 | + cache-from: type=registry,ref=omnivore-app/sh-local-mail-watcher:latest |
| 77 | + cache-to: type=inline,mode=min |
70 | 78 |
|
71 | 79 | - name: Build and push backend
|
72 | 80 | uses: docker/build-push-action@v6
|
|
75 | 83 | push: true
|
76 | 84 | tags: ghcr.io/omnivore-app/sh-backend:latest,ghcr.io/omnivore-app/sh-backend:${{ github.sha }}
|
77 | 85 | file: packages/api/Dockerfile
|
| 86 | + cache-from: type=registry,ref=omnivore-app/sh-backend:latest |
| 87 | + cache-to: type=inline,mode=min |
78 | 88 |
|
79 | 89 | - name: Build and push queue-processor
|
80 | 90 | uses: docker/build-push-action@v6
|
|
83 | 93 | push: true
|
84 | 94 | tags: ghcr.io/omnivore-app/sh-queue-processor:latest,ghcr.io/omnivore-app/sh-queue-processor:${{ github.sha }}
|
85 | 95 | file: packages/api/queue-processor/Dockerfile
|
| 96 | + cache-from: type=registry,ref=omnivore-app/queue-processor:latest |
| 97 | + cache-to: type=inline,mode=min |
0 commit comments