We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60d4e6 commit c9f1d9fCopy full SHA for c9f1d9f
.github/workflows/build_prod_container.yml
@@ -19,7 +19,7 @@ jobs:
19
id: itag
20
run: |
21
CARGO_VERSION=$(awk '/\[workspace.package\]/ {flag=1} flag && /version =/ {print $3; flag=0}' Cargo.toml | sed 's/"//g')
22
- IMAGE_TAG=v${{ steps.itag.outputs.itag }} # set the image tag with "v" prefix
+ IMAGE_TAG=v$CARGO_VERSION # set the image tag with "v" prefix
23
echo "Cargo.toml version: $CARGO_VERSION"
24
echo "Image tag: $IMAGE_TAG"
25
echo "itag=$IMAGE_TAG" >> $GITHUB_OUTPUT
0 commit comments