From 46e624be071217979a31fa98bb3557f37c5b8859 Mon Sep 17 00:00:00 2001 From: ronger Date: Sun, 18 Sep 2022 13:40:09 +0000 Subject: [PATCH] Edit .onedev-buildspec.yml --- .onedev-buildspec.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index ec244f1..599534b 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -33,3 +33,26 @@ jobs: - key: npm-cache path: /root/.npm timeout: 3600 +- name: Build Docker Image + jobExecutor: internal + steps: + - !CheckoutStep + name: Checkout Code + cloneCredential: !DefaultCredential {} + withLfs: false + withSubmodules: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !BuildImageStep + name: Build Docker Image + 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