ajuste no drone.yml
This commit is contained in:
parent
2524863ad8
commit
794e4fb343
2 changed files with 11 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ type: kubernetes
|
|||
name: deploy-backend
|
||||
|
||||
steps:
|
||||
# -----------------------------------------------------------
|
||||
# BUILD & PUSH PARA O HARBOR
|
||||
# -----------------------------------------------------------
|
||||
- name: build-and-push-backend
|
||||
image: plugins/docker:latest
|
||||
|
||||
|
|
@ -26,6 +29,9 @@ steps:
|
|||
debug: true
|
||||
mtu: 0
|
||||
|
||||
# -----------------------------------------------------------
|
||||
# DEPLOY NO K3S
|
||||
# -----------------------------------------------------------
|
||||
- name: deploy-backend
|
||||
image: bitnami/kubectl:latest
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@ spec:
|
|||
labels:
|
||||
app: gohorse-backend
|
||||
|
||||
# Se quiser ativar Infisical Sidecar, descomente abaixo
|
||||
# annotations:
|
||||
# infisical.com/managed: "true"
|
||||
# infisical.com/secret-path: "prod/backend"
|
||||
|
||||
spec:
|
||||
containers:
|
||||
- name: backend
|
||||
|
|
|
|||
Loading…
Reference in a new issue