Skip to content

Commit 51a42f5

Browse files
committed
Merge branch 'master' of github.com:hardillb/node-red-docker
2 parents 6b4e816 + 2ad7e7b commit 51a42f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ jobs:
7171
IMAGE=${{ env.DEFAULT_IMAGE }}
7272
PUSH="true"
7373
VERSION=${TRAVIS_TAG:1}
74+
STABLE_VERSION=`echo ${VERSION} | sed -r 's/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)$/\1.\2/'`
7475
7576
if [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "" ]]; then
76-
TAGS="$TAGS,$IMAGE:$VERSION,$IMAGE:latest"
77+
TAGS="$TAGS,$IMAGE:$VERSION,$IMAGE:$STABLE_VERSION,$IMAGE:latest"
7778
elif [[ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" && "${{ matrix.suffix }}" == "-minimal" ]]; then
7879
TAGS="$TAGS,$IMAGE:$VERSION-minimal,$IMAGE:latest-minimal"
7980
fi

0 commit comments

Comments
 (0)