Initial commit

This commit is contained in:
Firq 2025-04-14 23:27:25 +02:00
commit 8a4328004c
Signed by: Firq
GPG key ID: DCE182BA39C697B2
4 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,36 @@
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+'
jobs:
build:
runs-on: dind
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
- name: Push to Package Registry
uses: docker/build-push-action@v5
with:
push: true
tags: forgejo.neshweb.net/ci-docker-images/node-chromium:${{ github.ref_name }}, forgejo.neshweb.net/ci-docker-images/node-chromium:latest
release:
needs: [build]
if: success()
runs-on: docker
steps:
- name: Release New Version
uses: actions/forgejo-release@v2
with:
direction: upload
url: https://forgejo.neshweb.net
release-dir: release
token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }}

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vscode/*

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM node:22-bookworm AS build
WORKDIR /
ENV CHROMIUM_VERSION="135.0.7049.84-1~deb12u1"
RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps libxss1 && rm -rf /var/lib/apt/lists/*

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# node-chromium Docker Image
Image based on `node:22-bookworm` with `chromium` preinstalled.