Update .drone.yml
Ajuste
This commit is contained in:
parent
498ac4d0c7
commit
46d70c16b9
1 changed files with 4 additions and 2 deletions
|
|
@ -16,10 +16,11 @@ steps:
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: gohorsejobsdev/gohorsejobs-backend
|
repo: in.gohorsejobs.com/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
|
||||||
|
insecure: true
|
||||||
username: { from_secret: HARBOR_USERNAME }
|
username: { from_secret: HARBOR_USERNAME }
|
||||||
password: { from_secret: HARBOR_PASSWORD }
|
password: { from_secret: HARBOR_PASSWORD }
|
||||||
|
|
||||||
|
|
@ -27,10 +28,11 @@ steps:
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: gohorsejobs-backoffice-dev/backoffice
|
repo: in.gohorsejobs.com/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
|
||||||
username: { from_secret: HARBOR_USERNAME }
|
username: { from_secret: HARBOR_USERNAME }
|
||||||
password: { from_secret: HARBOR_PASSWORD }
|
password: { from_secret: HARBOR_PASSWORD }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue