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