File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 3131
3232 - name : Build and push the Docker image
3333 run : |
34- docker build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }} .
34+ docker buildx build --builder cloud-demonstrationorg-default -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }} .
3535 docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }}
3636
3737
Original file line number Diff line number Diff line change 2323 com.docker.compose.service : model
2424 com.docker.compose.network.default : " true"
2525 spec :
26+ nodeSelector :
27+ model : " true"
28+ tolerations :
29+ - key : " model"
30+ operator : " Equal"
31+ value : " true"
32+ effect : " NoSchedule"
2633 containers :
2734 - name : ollama
2835 image : ollama/ollama:0.6.2
3239 containerPort : 11434
3340 resources :
3441 requests :
35- cpu : " 250m"
36- memory : " 1Gi"
42+ cpu : " 1000m"
43+ memory : " 4Gi"
44+ limits :
45+ cpu : " 2000m"
46+ memory : " 6Gi"
3747 lifecycle :
3848 postStart :
3949 exec :
You can’t perform that action at this time.
0 commit comments