diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 20dee4d..7e3ef9c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 }} diff --git a/.node b/.node index 26e1658..13b1c36 100644 --- a/.node +++ b/.node @@ -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 diff --git a/Makefile b/Makefile index 267c8d9..d5190b0 100644 --- a/Makefile +++ b/Makefile @@ -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]+') diff --git a/README.md b/README.md index dbde3b4..d8740a8 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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.