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