diff --git a/.github/workflows/workflow_build_and_release_containers.yaml b/.github/workflows/workflow_build_and_release_containers.yaml index 3d13fe6e..2834d5d8 100644 --- a/.github/workflows/workflow_build_and_release_containers.yaml +++ b/.github/workflows/workflow_build_and_release_containers.yaml @@ -18,9 +18,18 @@ jobs: outputs: version: ${{ steps.date-version.outputs.version }} steps: - - name: Generate Date Version - id: date-version - uses: StackEng/CoreEngineering.CITools/actions/date_version@v1 +# manually generate version until permissions are sorted +# - name: Generate Date Version +# id: date-version +# uses: StackEng/CoreEngineering.CITools/actions/date_version@v1 + - name: Set Version + if: ${{ github.ref_name == 'main' }} + run: | + # Year.Month.Day.HourMinSec (no zero padding in each segment) + VERSION="$(date -u +'%Y.%-m.%-d.%-H%M%S')" + echo "version=$version" >> $env:GITHUB_OUTPUT + echo "generated version: $version" + build_docker: needs: [generate_date_version]