nebula/.onedev-buildspec.yml

22 lines
477 B
YAML
Raw Normal View History

2022-09-18 18:55:27 +08:00
version: 18
jobs:
- name: Build Docker Image
2022-09-18 19:53:39 +08:00
jobExecutor: internal
2022-09-18 18:55:27 +08:00
steps:
- !BuildImageStep
name: Build Docker Image
2022-09-18 19:57:32 +08:00
buildPath: '@project_name@'
dockerfile: '@project_path@/Dockerfile'
2022-09-18 18:55:27 +08:00
tags: rymcu/nebula:latest
publish: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !TagCreateTrigger
projects: nebula
retryCondition: never
maxRetries: 3
retryDelay: 30
cpuRequirement: 250
memoryRequirement: 256
timeout: 3600