countdown/.drone.yml
seahi 0cea5a1f9e
Some checks reported errors
continuous-integration/drone/push Build encountered an error
关闭特权模式
2025-04-15 15:42:57 +08:00

35 lines
784 B
YAML

kind: pipeline
type: docker
name: build
node:
name: pve
steps:
- name: Build normal exit image
pull: always
image: plugins/docker
privileged: flase
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