Skip to content

Commit

Permalink
Add node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Sep 10, 2024
1 parent c9a2fae commit 154b5cc
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 18 deletions.
56 changes: 42 additions & 14 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,60 +9,88 @@ on:
- '*'

env:
NODE22: '22.8.0'
NODE20: '20.17.0'
NODE18: '18.20.4'
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

jobs:
node22:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE22 }}
tags: 22.8,22,latest
platform: linux/amd64,linux/arm64
node20:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE20 }}
tags: 20.17,20,latest
tags: 20.17,20
platform: linux/amd64,linux/arm64
node18:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE18 }}
tags: 18.20,18
platform: linux/amd64,linux/arm64
node22-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE22 }}
tags: 22.8-dev,22-dev,dev
dev: 1
platform: linux/amd64,linux/arm64
node20-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE20 }}
tags: 20.17-dev,20-dev,dev
tags: 20.17-dev,20-dev
dev: 1
platform: linux/amd64,linux/arm64
node18-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-buildx-action@v3
- uses: ./.github/actions
with:
version: ${{ env.NODE18 }}
Expand Down
1 change: 1 addition & 0 deletions .node
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
22#2024-09-06T03:38:15.179055Z
20#2024-09-06T03:38:15.179055Z
18#2024-09-06T03:38:15.179055Z
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include .env

NODE_VER ?= 20.17.0
NODE_VER ?= 22.8.0

NODE_VER_MINOR = $(shell echo "${NODE_VER}" | grep -oE '^[0-9]+\.[0-9]+')

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Docker Images

❗️For better reliability we release images with stability tags (`wodby/node:20-X.X.X`) which correspond to [git tags](https://github.com/wodby/node/releases). We strongly recommend using images only with stability tags.
❗️For better reliability we release images with stability tags (`wodby/node:22-X.X.X`) which correspond to [git tags](https://github.com/wodby/node/releases). We strongly recommend using images only with stability tags.

Overview:

Expand All @@ -17,9 +17,11 @@ Overview:

Supported tags and respective `Dockerfile` links:

- `20.17`, `20`, `latest` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `22.8`, `22`, `latest` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `20.17`, `20` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `18.20`, `18` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `20.8-dev`, `20-dev`, `dev` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `22.8-dev`, `22-dev`, `dev` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `20.17-dev`, `20-dev` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)
- `18.4-dev`, `18-dev` [_(Dockerfile)_](https://github.com/wodby/node/tree/master/Dockerfile)

Images with `-dev` tag have dev packages and `sudo` allowed for all commands for `wodby` user.
Expand Down

0 comments on commit 154b5cc

Please sign in to comment.