Skip to content

Commit 1c2aa14

Browse files
authored
Merge branch 'master' into dev
2 parents d1b1d95 + 25e3c10 commit 1c2aa14

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ jobs:
142142
else
143143
PUSH=false
144144
fi
145-
VERSION=${TRAVIS_TAG:1}
145+
146+
VERSION=${TRAVIS_TAG}
147+
if [[ "$VERSION" ~= ^v ]]; then
148+
VERSION=${TRAVIS_TAG:1}
149+
fi
150+
146151
TAGS=$(echo $TAGS | sed 's!${{ env.DEFAULT_IMAGE}}!${{ env.DEV_IMAGE }}!')
147152
TAGS=$(echo $TAGS | sed 's!${{ env.GH_IMAGE}}!${{ env.GH_DEV_IMAGE }}!')
148153
if [ "${{ matrix.node }}" == "${{ env.LATEST_NODE }}" ] && [ "${{ matrix.suffix}}" == "" ]; then
@@ -293,7 +298,11 @@ jobs:
293298
else
294299
PUSH=false
295300
fi
296-
VERSION=${TRAVIS_TAG:1}
301+
302+
VERSION=${TRAVIS_TAG}
303+
if [[ "$VERSION" ~= ^v ]]; then
304+
VERSION=${TRAVIS_TAG:1}
305+
fi
297306
298307
TAGS="$IMAGE:$VERSION-debian,$GH_DEV_IMAGE:$VERSION-debian"
299308

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Some basic familiarity with Docker and the [Docker Command Line](https://docs.do
1212

1313
As of Node-RED 1.0 this project provides the build for the `nodered/node-red` container on [Docker Hub](https://hub.docker.com/r/nodered/node-red/).
1414

15+
As of Node-RED 4.0.9 the containers are also available from the [GitHub Container Regisry](https://github.com/node-red/node-red-docker/pkgs/container/node-red) as `ghcr.io/node-red/node-red` with the same tag names as on Docker Hub.
16+
1517
Previous 0.20.x versions are still available at https://hub.docker.com/r/nodered/node-red-docker.
1618

1719
## Quick Start
@@ -93,13 +95,12 @@ and stop it again when required:
9395
The Node-RED images come in different variations and are supported by manifest lists (auto-detect architecture).
9496
This makes it more easy to deploy in a multi architecture Docker environment. E.g. a Docker Swarm with mix of Raspberry Pi's and amd64 nodes.
9597

96-
The tag naming convention is `<node-red-version>-<node-version>-<image-type>-<architecture>`, where:
98+
The tag naming convention is `<node-red-version>-<node-version>-<image-type>`, where:
9799
- `<node-red-version>` is the Node-RED version.
98100
- `<node-version>` is the Node JS version.
99101
- `<image-type>` is type of image and is optional, can be either _none_ or minimal.
100102
- _none_ : is the default and has Python 2 & Python 3 + devtools installed
101103
- minimal : has no Python installed and no devtools installed
102-
- `<architecture>` is the architecture of the Docker host system, can be either amd64, arm32v6, arm32v7, arm64, s390x or i386.
103104

104105
The minimal versions (without python and build tools) are not able to install nodes that require any locally compiled native code.
105106

0 commit comments

Comments
 (0)