File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,17 @@ jobs:
2626 steps :
2727 - uses : actions/checkout@v4
2828 name : Checkout
29+ - name : Get project version from Cargo.toml
30+ id : get_version
31+ run : |
32+ version=$(grep '^version' oxybox/Cargo.toml | head -n 1 | cut -d '"' -f2)
33+ echo "version=$version" >> $GITHUB_OUTPUT
2934 - uses : Baseflow/github-actions/docker@main
3035 name : Build docker image
3136 with :
3237 username : ${{ secrets.BASEFLOW_ACR_USERNAME }}
3338 password : ${{ secrets.BASEFLOW_ACR_PASSWORD }}
3439 push : ${{ github.event_name != 'pull_request' }}
3540 vulnerability_scan : ${{ github.event_name != 'pull_request' }}
36- version : " 1.10 "
41+ version : ${{ steps.get_version.outputs.version }}
3742 context : ./oxybox
Original file line number Diff line number Diff line change 11[package ]
22name = " oxybox"
3- version = " 0.1 .0"
3+ version = " 1.11 .0"
44edition = " 2024"
55
66[dependencies ]
You can’t perform that action at this time.
0 commit comments