deployment
Build CuraFlow HMS / build-and-deploy (push) Failing after 10s
Details
Build CuraFlow HMS / build-and-deploy (push) Failing after 10s
Details
This commit is contained in:
parent
c6f2c5639a
commit
584469cf87
|
|
@ -0,0 +1,23 @@
|
|||
name: Build CuraFlow HMS
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_HOST: tcp://172.17.0.1:2375
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build and push (Kaniko)
|
||||
run: |
|
||||
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||
docker run --rm \
|
||||
--volumes-from "$JOB_CONTAINER" \
|
||||
gcr.io/kaniko-project/executor:latest \
|
||||
--context=dir:///workspace/deepkoluguri/curaflow-hms \
|
||||
--dockerfile=Dockerfile \
|
||||
--destination=192.168.8.250:5000/curaflow:latest \
|
||||
--insecure \
|
||||
--skip-tls-verify
|
||||
11
k8s/app.yaml
11
k8s/app.yaml
|
|
@ -14,7 +14,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: curaflow
|
||||
image: curaflow:latest
|
||||
image: 192.168.8.250:5000/curaflow:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
|
|
@ -37,10 +37,15 @@ kind: Ingress
|
|||
metadata:
|
||||
name: curaflow-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: apisix # Using APISIX as per user's previous context
|
||||
kubernetes.io/ingress.class: apisix
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod # Common pattern in these setups
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- curaflow.applaude.net
|
||||
secretName: curaflow-tls
|
||||
rules:
|
||||
- host: curaflow.local
|
||||
- host: curaflow.applaude.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
|
|
|||
Loading…
Reference in New Issue