mirror of
https://onedev.site.tesses.net/Dependencies
synced 2026-02-08 09:45:44 +00:00
Add .onedev-buildspec.yml
This commit is contained in:
23
.onedev-buildspec.yml
Normal file
23
.onedev-buildspec.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user