We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b4e816 + 2ad7e7b commit 51a42f5Copy full SHA for 51a42f5
.github/workflows/main.yml
@@ -71,9 +71,10 @@ jobs:
71
IMAGE=${{ env.DEFAULT_IMAGE }}
72
PUSH="true"
73
VERSION=${TRAVIS_TAG:1}
74
+ STABLE_VERSION=`echo ${VERSION} | sed -r 's/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)$/\1.\2/'`
75
76
if [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "" ]]; then
- TAGS="$TAGS,$IMAGE:$VERSION,$IMAGE:latest"
77
+ TAGS="$TAGS,$IMAGE:$VERSION,$IMAGE:$STABLE_VERSION,$IMAGE:latest"
78
elif [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "-minimal" ]]; then
79
TAGS="$TAGS,$IMAGE:$VERSION-minimal,$IMAGE:latest-minimal"
80
fi
0 commit comments