Skip to content

Commit b72d68b

Browse files
committed
chore(.github): don't strip v prefix from container tags
1 parent 3a88335 commit b72d68b

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ jobs:
7171
# Strip git ref prefix from version
7272
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
7373
74-
# Strip "v" prefix from tag name
75-
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
76-
7774
# Use Docker `latest` tag convention
7875
[ "$VERSION" == "master" ] && VERSION=latest
7976
@@ -97,9 +94,6 @@ jobs:
9794
# Strip git ref prefix from version
9895
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
9996
100-
# Strip "v" prefix from tag name
101-
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
102-
10397
# Use Docker `latest` tag convention
10498
[ "$VERSION" == "master" ] && VERSION=latest
10599
@@ -123,9 +117,6 @@ jobs:
123117
# Strip git ref prefix from version
124118
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
125119
126-
# Strip "v" prefix from tag name
127-
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
128-
129120
# Use Docker `latest` tag convention
130121
[ "$VERSION" == "master" ] && VERSION=latest
131122

0 commit comments

Comments
 (0)