|
35 | 35 | - name: Set up Docker Buildx
|
36 | 36 | uses: docker/setup-buildx-action@v3
|
37 | 37 |
|
| 38 | + - name: Build and push backend |
| 39 | + uses: docker/build-push-action@v6 |
| 40 | + with: |
| 41 | + platforms: linux/amd64,linux/arm64 |
| 42 | + push: true |
| 43 | + tags: ghcr.io/omnivore-app/sh-backend:latest,ghcr.io/omnivore-app/sh-backend:${{ github.sha }} |
| 44 | + file: packages/api/Dockerfile |
| 45 | + cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest |
| 46 | + cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest,mode=max |
| 47 | + |
| 48 | + - name: Build and push queue-processor |
| 49 | + uses: docker/build-push-action@v6 |
| 50 | + with: |
| 51 | + platforms: linux/amd64,linux/arm64 |
| 52 | + push: true |
| 53 | + tags: ghcr.io/omnivore-app/sh-queue-processor:latest,ghcr.io/omnivore-app/sh-queue-processor:${{ github.sha }} |
| 54 | + file: packages/api/queue-processor/Dockerfile |
| 55 | + cache-from: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest |
| 56 | + cache-to: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest,mode=max |
| 57 | + |
38 | 58 | - name: Build and push image-proxy
|
39 | 59 | uses: docker/build-push-action@v6
|
40 | 60 | with:
|
|
76 | 96 | cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:latest
|
77 | 97 | cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-local-mail-watcher:latest,mode=max
|
78 | 98 |
|
79 |
| - - name: Build and push backend |
80 |
| - uses: docker/build-push-action@v6 |
81 |
| - with: |
82 |
| - platforms: linux/amd64,linux/arm64 |
83 |
| - push: true |
84 |
| - tags: ghcr.io/omnivore-app/sh-backend:latest,ghcr.io/omnivore-app/sh-backend:${{ github.sha }} |
85 |
| - file: packages/api/Dockerfile |
86 |
| - cache-from: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest |
87 |
| - cache-to: type=registry,ref=ghcr.io/omnivore-app/sh-backend:latest,mode=max |
88 | 99 |
|
89 |
| - - name: Build and push queue-processor |
90 |
| - uses: docker/build-push-action@v6 |
91 |
| - with: |
92 |
| - platforms: linux/amd64,linux/arm64 |
93 |
| - push: true |
94 |
| - tags: ghcr.io/omnivore-app/sh-queue-processor:latest,ghcr.io/omnivore-app/sh-queue-processor:${{ github.sha }} |
95 |
| - file: packages/api/queue-processor/Dockerfile |
96 |
| - cache-from: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest |
97 |
| - cache-to: type=registry,ref=ghcr.io/omnivore-app/queue-processor:latest,mode=max |
|
0 commit comments