Skip to content

Commit 73080dd

Browse files
committed
Update WF with dynamic names for runs
1 parent b5875a4 commit 73080dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Docker Release
22

3+
run-name: Docker Release ${{ github.ref_name }} by @${{ github.actor }}
4+
35
on:
46
push:
57
tags:
@@ -41,7 +43,7 @@ jobs:
4143
- name: Prepare Workflow Environment
4244
id: prep
4345
run: |
44-
VERSION_MAJOR_MINOR_PATCH=${GITHUB_REF#refs/*/}
46+
VERSION_MAJOR_MINOR_PATCH=${GITHUB_REF_NAME}
4547
VERSION_MAJOR_MINOR=${VERSION_MAJOR_MINOR_PATCH%.*}
4648
VERSION_MAJOR=${VERSION_MAJOR_MINOR%.*}
4749
echo "docker-image-name=${DOCKER_IMAGE_NAME}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)