From f17a8dc32762fc343be1d74e963b16b55eb8e553 Mon Sep 17 00:00:00 2001 From: ronger Date: Sun, 18 Sep 2022 12:43:42 +0000 Subject: [PATCH] Edit .onedev-buildspec.yml --- .onedev-buildspec.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 021d5c3..63f090d 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -18,8 +18,7 @@ jobs: image: node:16.17.0-alpine interpreter: !DefaultInterpreter commands: - - yarn --registry=https://registry.npm.taobao.org - - npx nuxt build + - docker build -t nebula:latest . useTTY: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL triggers: @@ -33,18 +32,3 @@ jobs: - key: npm-cache path: /root/.npm timeout: 3600 -- name: Build Docker Image - jobExecutor: internal - steps: - - !BuildImageStep - name: Build Docker Image - dockerfile: . - tags: rymcu/nebula:latest - publish: false - condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL - retryCondition: never - maxRetries: 3 - retryDelay: 30 - cpuRequirement: 250 - memoryRequirement: 256 - timeout: 3600