Update .drone.yml
Ajuste no drone
This commit is contained in:
parent
62bb7086b6
commit
ea724eca45
1 changed files with 7 additions and 6 deletions
|
|
@ -11,12 +11,12 @@ trigger:
|
||||||
branch:
|
branch:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-and-push-backend
|
- name: build-and-push-backend
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: in.gohorsejobs.com/gohorsejobsdev/gohorsejobs-backend
|
# Removido o domínio. Fica apenas: projeto/repositório
|
||||||
|
repo: gohorsejobsdev/gohorsejobs-backend
|
||||||
tags: [ latest, "${DRONE_COMMIT_SHA:0:8}" ]
|
tags: [ latest, "${DRONE_COMMIT_SHA:0:8}" ]
|
||||||
context: backend
|
context: backend
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
|
|
@ -28,13 +28,14 @@ steps:
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: in.gohorsejobs.com/gohorsejobs-backoffice-dev/backoffice
|
# Ajustado para o nome exato que aparece no seu Harbor
|
||||||
|
repo: gohorsejobs-backoffice-dev/backoffice
|
||||||
tags: [ latest, "${DRONE_COMMIT_SHA:0:8}" ]
|
tags: [ latest, "${DRONE_COMMIT_SHA:0:8}" ]
|
||||||
context: backoffice
|
context: backoffice
|
||||||
dockerfile: backoffice/Dockerfile
|
dockerfile: backoffice/Dockerfile
|
||||||
insecure: true
|
insecure: true
|
||||||
username: { from_secret: HARBOR_USERNAME }
|
username: { from_secret: HARBOR_USERNAME }
|
||||||
password: { from_secret: HARBOR_PASSWORD }
|
password: { from_secret: HARBOR_PASSWORD }}
|
||||||
|
|
||||||
- name: export-envs-to-k8s
|
- name: export-envs-to-k8s
|
||||||
image: bitnami/kubectl:latest
|
image: bitnami/kubectl:latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue