Add buildspec

This commit is contained in:
2026-03-15 22:40:03 -05:00
parent 0858a8a751
commit d727e173ac
+33
View File
@@ -0,0 +1,33 @@
version: 43
jobs:
- name: build
steps:
- type: CheckoutStep
name: Checkout code
cloneCredential:
type: DefaultCredential
withLfs: true
withSubmodules: true
cloneDepth: 1
condition: SUCCESSFUL
optional: false
- type: BuildImageStep
name: build image
output:
type: RegistryOutput
tags: onedev.site.tesses.net/tytd2025/tytdcompanion/tytdcompanion:latest
registryLogins:
- registryUrl: '@server_url@'
userName: '@job_token@'
passwordSecret: dockersecret
condition: SUCCESSFUL
optional: false
triggers:
- type: BranchUpdateTrigger
branches: master
userMatch: anyone
projects: tytd2025/tytdcompanion
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 14400