This commit is contained in:
parent
d5c5d1d011
commit
47a7884960
31
.drone.yml
Normal file
31
.drone.yml
Normal file
@ -0,0 +1,31 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: Build normal exit image
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
privileged: false
|
||||
settings:
|
||||
dockerfile: Dockerfile.normal
|
||||
auto-tag: true
|
||||
registry: harhor.seahi.me
|
||||
repo: harbor.seahi.me/stu/normal-exit
|
||||
username:
|
||||
from_secret: harbor_username
|
||||
passowrd:
|
||||
from_secret: harbor_password
|
||||
- name: Build abnormal exit image
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
privileged: false
|
||||
settings:
|
||||
dockerfile: Dockerfile.abnormal
|
||||
auto-tag: true
|
||||
registry: harbor.seahi.me
|
||||
repo: harbor.seahi.me/stu/abnormal-exit
|
||||
username:
|
||||
from_secret: harbor_username
|
||||
passowrd:
|
||||
from_secret: harbor_password
|
Loading…
x
Reference in New Issue
Block a user