File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments