-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Patrick Robinson <[email protected]>
- Loading branch information
1 parent
bc042c4
commit 7cb0804
Showing
4 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: nodejs20 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
with: | ||
platforms: all | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/[email protected] | ||
with: | ||
install: true | ||
version: latest | ||
driver-opts: image=moby/buildkit:master | ||
|
||
- name: Login to GitHub Packages Docker Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: jenkins-arvato | ||
password: ${{ secrets.CR_PAT }} | ||
- name: Build and Push | ||
uses: docker/[email protected] | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
pull: true | ||
file: ./Dockerfile.nodejs20 | ||
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs20:latest | ||
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs20:latest | ||
cache-to: type=inline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM ghcr.io/arvatoaws-labs/helm-pipeline/release:latest as helm | ||
|
||
FROM ghcr.io/arvatoaws-labs/fedora:39 | ||
|
||
VOLUME /var/lib/docker | ||
|
||
COPY --from=helm /usr/bin/helm3 /usr/bin/helm | ||
|
||
RUN dnf upgrade -y && dnf install -y nodejs npm findutils parallel awscli jq make gcc gcc-c++ automake file && dnf clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters