From f805792d7ab41c0fdd53337778ae0b563641576a Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Mon, 13 Jan 2025 01:56:49 +0000 Subject: [PATCH] Add .onedev-buildspec.yml --- .onedev-buildspec.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .onedev-buildspec.yml diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 0000000..ccfdfa3 --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,23 @@ +version: 38 +jobs: +- name: Dependency Container for crosslang + steps: + - !CheckoutStep + name: Checkout + cloneCredential: !DefaultCredential {} + withLfs: false + withSubmodules: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !BuildImageStep + name: Build docker image + output: !RegistryOutput + tags: onedev.site.tesses.net/Dependencies/x86_64:latest + registryLogins: + - registryUrl: '@server_url@' + userName: '@job_token@' + passwordSecret: dockersecret + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 14400