mirror of
https://onedev.site.tesses.net/crosslang/crosslang-tutorials
synced 2026-02-08 09:05:47 +00:00
Add .onedev-buildspec.yml
This commit is contained in:
29
.onedev-buildspec.yml
Normal file
29
.onedev-buildspec.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: 39
|
||||
jobs:
|
||||
- name: Builds
|
||||
steps:
|
||||
- !CheckoutStep
|
||||
name: Checkout
|
||||
cloneCredential: !DefaultCredential {}
|
||||
withLfs: true
|
||||
withSubmodules: true
|
||||
cloneDepth: 1
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !BuildImageStep
|
||||
name: Build text board
|
||||
buildPath: 7 Text Board
|
||||
output: !RegistryOutput
|
||||
tags: onedev.site.tesses.net/crosslang/crosslang-tutorials/text-board:latest
|
||||
registryLogins:
|
||||
- registryUrl: '@server_url@'
|
||||
userName: '@job_token@'
|
||||
passwordSecret: dockersecret
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
triggers:
|
||||
- !BranchUpdateTrigger
|
||||
branches: master
|
||||
projects: crosslang/crosslang-tutorials
|
||||
retryCondition: never
|
||||
maxRetries: 3
|
||||
retryDelay: 30
|
||||
timeout: 14400
|
||||
Reference in New Issue
Block a user