diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index a7f7220..8891a89 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -93,9 +93,13 @@ 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:0.0.1 + tags: rymcu/forest:@build_version@ publish: false condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL jobDependencies: