mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 17:15:45 +00:00
Add timespan
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
||||
name: Build Docker Image
|
||||
dockerfile: Dockerfile.run
|
||||
output: !RegistryOutput
|
||||
tags: onedev.site.tesses.net/crosslang/crosslang:latest
|
||||
tags: onedev.site.tesses.net/crosslang/crosslang:latest onedev.site.tesses.net/crosslang/crosslang:@commit_hash@
|
||||
registryLogins:
|
||||
- registryUrl: '@server_url@'
|
||||
userName: '@job_token@'
|
||||
@@ -86,6 +86,8 @@ jobs:
|
||||
envVars:
|
||||
- name: GITEA_AUTH
|
||||
value: '@secret:GITEA_AUTH@'
|
||||
- name: BUILD_NO
|
||||
value: '@build_number@'
|
||||
useTTY: true
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !CommandStep
|
||||
@@ -109,6 +111,8 @@ jobs:
|
||||
value: '@secret:GITEA_AUTH@'
|
||||
- name: CPKG_KEY
|
||||
value: '@secret:CPKG_KEY@'
|
||||
- name: BUILD_NO
|
||||
value: '@build_number@'
|
||||
useTTY: true
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !SCPCommandStep
|
||||
@@ -125,6 +129,7 @@ jobs:
|
||||
privateKeySecret: TRUENAS_SSH
|
||||
commands: |
|
||||
cd /mnt/storage24tb/Files/Public/CrossLang
|
||||
rm -f latest
|
||||
ln -s @build_number@ latest
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
triggers:
|
||||
|
||||
Reference in New Issue
Block a user