Skip to content

Commit dd7cd50

Browse files
committed
Use different image names, not tags, for vanilla vs. studios
1 parent fa0a266 commit dd7cd50

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/docker.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,16 @@ on:
99
release:
1010
types: [published]
1111

12-
env:
13-
REGISTRY: ghcr.io
14-
IMAGE_NAME: ${{ github.repository }}
15-
1612
jobs:
1713
build:
1814
runs-on: ubuntu-latest
1915
strategy:
2016
matrix:
2117
include:
2218
- dockerfile: docker/Dockerfile
23-
tag_suffix: ""
19+
image_name: ghcr.io/${{ github.repository }}
2420
- dockerfile: docker/studios.Dockerfile
25-
tag_suffix: "-studios"
21+
image_name: ghcr.io/${{ github.repository }}-studios
2622
permissions:
2723
contents: read
2824
packages: write
@@ -35,21 +31,21 @@ jobs:
3531
- name: Log in to the Container registry
3632
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
3733
with:
38-
registry: ${{ env.REGISTRY }}
34+
registry: ghcr.io
3935
username: ${{ github.actor }}
4036
password: ${{ secrets.GITHUB_TOKEN }}
4137

4238
- name: Extract metadata (tags, labels) for Docker
4339
id: meta
4440
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
4541
with:
46-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
42+
images: ${{ matrix.image_name }}
4743
tags: |
48-
type=raw,value=main${{ matrix.tag_suffix }},enable={{is_default_branch}}
49-
type=raw,value=latest${{ matrix.tag_suffix }},enable={{is_default_branch}}
50-
type=semver,pattern={{version}}${{ matrix.tag_suffix }}
51-
type=semver,pattern={{major}}.{{minor}}${{ matrix.tag_suffix }}
52-
type=semver,pattern={{major}}${{ matrix.tag_suffix }}
44+
type=raw,value=main,enable={{is_default_branch}}
45+
type=raw,value=latest,enable={{is_default_branch}}
46+
type=semver,pattern={{version}}
47+
type=semver,pattern={{major}}.{{minor}}
48+
type=semver,pattern={{major}}
5349
5450
- name: Build and push Docker image
5551
id: push

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [1.0.1] - 2025-06-18
4+
5+
- Use two separate Docker image names for the vanilla and Studios images.
6+
37
## [1.0.0] - 2025-06-18
48

59
- Moved repository to [seqeralabs/node-red-seqera](https://github.com/seqeralabs/node-red-seqera)

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,12 @@ See [the Node-RED documentation](https://nodered.org/docs/getting-started/docker
7878

7979
## Seqera Studios
8080

81-
In addition to the base Docker image, the repo has an image specifically designed to run within [Seqera Studios](https://docs.seqera.io/platform-cloud/studios/overview).
82-
The images are the same, just with a `-studios` tag suffix.
81+
In addition to the base Docker image, the repo has an image specifically designed to run within [Seqera Studios](https://docs.seqera.io/platform-cloud/studios/overview), called `ghcr.io/seqeralabs/node-red-seqera-studios` (note `-studios` suffix).
8382

8483
To use, create a new Studio with the _Template_ set to _Prebuilt container image_ and enter:
8584

8685
```
87-
ghcr.io/seqeralabs/node-red-seqera:latest-studios
86+
ghcr.io/seqeralabs/node-red-seqera-studios:latest
8887
```
8988

9089
Make sure that the studio is set to _Always keep the session running_.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@seqera/node-red-seqera",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Node-RED nodes for interacting with the Seqera Platform API",
55
"author": "Phil Ewels <phil.ewels@seqera.io>",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)