|
36 | 36 | name: Build and push
|
37 | 37 | uses: docker/build-push-action@v6
|
38 | 38 | with:
|
| 39 | + push: true |
39 | 40 | context: .
|
40 | 41 | target: backend-production
|
41 | 42 | build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
|
|
67 | 68 | name: Build and push
|
68 | 69 | uses: docker/build-push-action@v6
|
69 | 70 | with:
|
| 71 | + push: true |
70 | 72 | context: .
|
71 | 73 | file: ./src/frontend/Dockerfile
|
72 | 74 | target: frontend-production
|
@@ -101,13 +103,37 @@ jobs:
|
101 | 103 | name: Build and push
|
102 | 104 | uses: docker/build-push-action@v6
|
103 | 105 | with:
|
| 106 | + push: true |
104 | 107 | context: .
|
105 | 108 | file: ./src/frontend/servers/y-provider/Dockerfile
|
106 | 109 | target: y-provider
|
107 | 110 | build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
|
108 | 111 | tags: ${{ steps.meta.outputs.tags }}
|
109 | 112 | labels: ${{ steps.meta.outputs.labels }}
|
110 | 113 |
|
| 114 | + build-and-push-mcp-server: |
| 115 | + runs-on: ubuntu-latest |
| 116 | + steps: |
| 117 | + - name: Checkout repository |
| 118 | + uses: actions/checkout@v4 |
| 119 | + - name: Docker meta |
| 120 | + id: meta |
| 121 | + uses: docker/metadata-action@v5 |
| 122 | + with: |
| 123 | + images: lasuite/impress-mcp-server |
| 124 | + - name: Login to DockerHub |
| 125 | + run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin |
| 126 | + - name: Build and push |
| 127 | + uses: docker/build-push-action@v6 |
| 128 | + with: |
| 129 | + push: true |
| 130 | + context: ./src/mcp_server |
| 131 | + file: ./src/mcp_server/Dockerfile |
| 132 | + build-args: | |
| 133 | + DOCKER_USER=${{ env.DOCKER_USER }}:-1000 |
| 134 | + tags: ${{ steps.meta.outputs.tags }} |
| 135 | + labels: ${{ steps.meta.outputs.labels }} |
| 136 | + |
111 | 137 | notify-argocd:
|
112 | 138 | needs:
|
113 | 139 | - build-and-push-frontend
|
|
0 commit comments