From 8b058548ca41e3d287bc04b3b5e8ea01cf72d0ff Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 30 Sep 2022 16:46:59 +0000 Subject: [PATCH 1/3] Edit .onedev-buildspec.yml --- .onedev-buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index a7f7220..2ae73f2 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -95,7 +95,7 @@ jobs: steps: - !BuildImageStep name: Build Docker Image - tags: rymcu/forest:0.0.1 + tags: rymcu/forest:@build_version@ publish: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL jobDependencies: From 23e72977b0d84c243f5ec3649e24b651b1d126c6 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 30 Sep 2022 16:52:43 +0000 Subject: [PATCH 2/3] Edit .onedev-buildspec.yml --- .onedev-buildspec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 2ae73f2..650ed61 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -98,6 +98,10 @@ jobs: tags: rymcu/forest:@build_version@ publish: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !SetBuildVersionStep + name: Set Build Version + buildVersion: '@file:buildVersion@' + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL jobDependencies: - jobName: package requireSuccessful: true From 1742b30c2965950f1bed68f39dee11ded6c1a59b Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 30 Sep 2022 16:55:32 +0000 Subject: [PATCH 3/3] Edit .onedev-buildspec.yml --- .onedev-buildspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index 650ed61..8891a89 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -93,15 +93,15 @@ jobs: timeout: 3600 - name: Build Docker Image steps: + - !SetBuildVersionStep + name: Set Build Version + buildVersion: '@file:buildVersion@' + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL - !BuildImageStep name: Build Docker Image tags: rymcu/forest:@build_version@ publish: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL - - !SetBuildVersionStep - name: Set Build Version - buildVersion: '@file:buildVersion@' - condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL jobDependencies: - jobName: package requireSuccessful: true