Skip to content

Commit 3a92c62

Browse files
committed
Use git tag to tag docker image
Signed-off-by: Mikhail Malyshev <[email protected]>
1 parent 5acc240 commit 3a92c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "Tag $TAG does not match RUST_VERSION $RUST_VERSION"
3636
exit 1
3737
fi
38-
echo "::set-output name=RUST_VERSION::$RUST_VERSION"
38+
echo "::set-output name=IMAGE_TAG::${{ github.ref_name }}"
3939
- name: Login to Docker Hub
4040
if: ${{ github.event.repository.full_name }} == 'lf-edge/eve-rust'
4141
uses: docker/login-action@v3
@@ -52,5 +52,5 @@ jobs:
5252
platforms: linux/amd64,linux/arm64
5353
push: true
5454
tags: |
55-
${{ env.OCIREPO }}:${{ steps.rust_version.outputs.RUST_VERSION }}
55+
${{ env.OCIREPO }}:${{ steps.rust_version.outputs.IMAGE_TAG }}
5656
${{ env.OCIREPO }}:latest

0 commit comments

Comments
 (0)