mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-09 00:05:46 +00:00
Edit .onedev-buildspec.yml
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: 38
|
version: 39
|
||||||
jobs:
|
jobs:
|
||||||
- name: Build for x86_64
|
- name: Build for x86_64
|
||||||
steps:
|
steps:
|
||||||
@@ -32,6 +32,20 @@ jobs:
|
|||||||
passwordSecret: dockersecret
|
passwordSecret: dockersecret
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
- !CommandStep
|
||||||
|
name: Build and Publish Deb Package
|
||||||
|
runInContainer: true
|
||||||
|
image: onedev.site.tesses.net/dependencies/debbuilder:latest
|
||||||
|
interpreter: !DefaultInterpreter
|
||||||
|
commands: |
|
||||||
|
cd Packaging/Linux
|
||||||
|
bash build-debian-amd64.sh
|
||||||
|
bash push-debian-amd64.sh
|
||||||
|
envVars:
|
||||||
|
- name: GITEA_AUTH
|
||||||
|
value: '@secret:GITEA_AUTH@'
|
||||||
|
useTTY: true
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
triggers:
|
triggers:
|
||||||
- !BranchUpdateTrigger
|
- !BranchUpdateTrigger
|
||||||
projects: tesses-framework
|
projects: tesses-framework
|
||||||
|
|||||||
Reference in New Issue
Block a user