Skip to content

Commit c9f1d9f

Browse files
committed
fix typo [skip ci]
1 parent a60d4e6 commit c9f1d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_prod_container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: itag
2020
run: |
2121
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
22+
IMAGE_TAG=v$CARGO_VERSION # set the image tag with "v" prefix
2323
echo "Cargo.toml version: $CARGO_VERSION"
2424
echo "Image tag: $IMAGE_TAG"
2525
echo "itag=$IMAGE_TAG" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)