Skip to content

Commit 5674e1f

Browse files
Add nodejs 22
Signed-off-by: Patrick Robinson <[email protected]>
1 parent 94a7ee0 commit 5674e1f

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.github/workflows/nodejs22.yaml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: nodejs22
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
schedule:
9+
- cron: '30 12 * * 3'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/[email protected]
17+
18+
- name: Set up QEMU
19+
uses: docker/[email protected]
20+
with:
21+
platforms: all
22+
23+
- name: Set up Docker Buildx
24+
id: buildx
25+
uses: docker/[email protected]
26+
with:
27+
install: true
28+
version: latest
29+
driver-opts: image=moby/buildkit:master
30+
31+
- name: Login to GitHub Packages Docker Registry
32+
uses: docker/[email protected]
33+
with:
34+
registry: ghcr.io
35+
username: ${{github.actor}}
36+
password: ${{ secrets.GITHUB_TOKEN }}
37+
# username: jenkins-arvato
38+
# password: ${{ secrets.CR_PAT }}
39+
- name: Build and Push
40+
uses: docker/[email protected]
41+
with:
42+
platforms: linux/amd64,linux/arm64
43+
push: true
44+
pull: true
45+
file: ./Dockerfile.nodejs22
46+
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs22:latest
47+
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs22:latest
48+
cache-to: type=inline

Dockerfile.nodejs22

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM ghcr.io/arvatoaws-labs/helm-pipeline/release:latest as helm
2+
3+
FROM ghcr.io/arvatoaws-labs/fedora:41
4+
5+
VOLUME /var/lib/docker
6+
7+
COPY --from=helm /usr/bin/helm3 /usr/bin/helm
8+
9+
RUN dnf upgrade -y && dnf install -y nodejs npm findutils parallel awscli jq make gcc gcc-c++ automake file && dnf clean all

0 commit comments

Comments
 (0)