Skip to content

Commit

Permalink
Build definition (#1)
Browse files Browse the repository at this point in the history
* initial build
  • Loading branch information
dgrechka authored Aug 8, 2022
1 parent 70cae22 commit aca834b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
kind: pipeline
type: kubernetes
name: default

steps:
- name: build & test docker image
image: plugins/docker
environment:
GITHUB_PAT:
from_secret: github_private_org_access
settings:
repo: lostpetinitiative/calvin_zhirui_yolo5_head_detector
dry_run: true
target: TESTS
build_args_from_env:
- GITHUB_PAT
build_args:
- GITHUB_USER=dgrechka
- name: build, test & push docker image
image: plugins/docker
when:
event:
- tag
environment:
GITHUB_PAT:
from_secret: github_private_org_access
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: lostpetinitiative/calvin_zhirui_yolo5_head_detector
target: FINAL
auto_tag: true
force_tag: true
build_args_from_env:
- GITHUB_PAT
build_args:
- GITHUB_USER=dgrechka

0 comments on commit aca834b

Please sign in to comment.