ajuste no drone.yml

This commit is contained in:
Marcus Bohessef 2025-12-11 23:24:59 -03:00
parent 2524863ad8
commit 794e4fb343
2 changed files with 11 additions and 0 deletions

View file

@ -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

View file

@ -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