Skip to content

Commit 9222d68

Browse files
committed
Add one last fix to release containers with the correct version information
Signed-off-by: Tobias Wolf <[email protected]>
1 parent af6ba7d commit 9222d68

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/on-release-publish.yml

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
steps:
2020
- name: Checkout commit
2121
uses: actions/checkout@v3
22+
- name: Get the Git tag name
23+
id: get-tag-name
24+
run: echo "tag-name=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_OUTPUT"
2225
- name: Log in to ghcr.io
2326
uses: docker/login-action@v3
2427
with:
@@ -32,6 +35,8 @@ jobs:
3235
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3336
- name: Build and push
3437
id: push
38+
env:
39+
ROOKIFY_VERSION: ${{ steps.get-tag-name.outputs.tag-name }}
3540
uses: docker/build-push-action@v6
3641
with:
3742
context: .

0 commit comments

Comments
 (0)