mirror of
https://onedev.site.tesses.net/Dependencies/AndroidDotnetDocker
synced 2026-02-08 10:05:46 +00:00
Add .onedev-buildspec.yml
This commit is contained in:
25
.onedev-buildspec.yml
Normal file
25
.onedev-buildspec.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
version: 38
|
||||||
|
jobs:
|
||||||
|
- name: Build container
|
||||||
|
steps:
|
||||||
|
- !CheckoutStep
|
||||||
|
name: Check it out
|
||||||
|
cloneCredential: !DefaultCredential {}
|
||||||
|
withLfs: false
|
||||||
|
withSubmodules: false
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
- !BuildImageStep
|
||||||
|
name: Build container
|
||||||
|
output: !RegistryOutput
|
||||||
|
tags: onedev.site.tesses.net/dependencies/androiddotnetdocker/androiddotnet:latest
|
||||||
|
registryLogins:
|
||||||
|
- registryUrl: '@server_url@'
|
||||||
|
userName: '@job_token@'
|
||||||
|
passwordSecret: dockersecret
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
triggers:
|
||||||
|
- !BranchUpdateTrigger {}
|
||||||
|
retryCondition: never
|
||||||
|
maxRetries: 3
|
||||||
|
retryDelay: 30
|
||||||
|
timeout: 14400
|
||||||
Reference in New Issue
Block a user