node-chromium/.forgejo/workflows/build_release.yml

33 lines
848 B
YAML
Raw Permalink Normal View History

2025-04-14 23:27:25 +02:00
on:
2025-04-15 20:36:34 +02:00
schedule:
- cron: '0 0 * * 1'
2025-04-14 23:27:25 +02:00
push:
2025-04-15 20:36:34 +02:00
branches:
- 'main'
paths:
- '.forgejo/workflows/*'
- 'Dockerfile'
2025-04-14 23:27:25 +02:00
jobs:
build:
runs-on: dind
2025-04-15 20:36:34 +02:00
strategy:
matrix:
node-version: [ "20", "22", "23" ]
2025-04-14 23:27:25 +02:00
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
2025-04-15 20:36:34 +02:00
build-args: |
NODE_VERSION=${{ matrix.node-version }}
tags: forgejo.neshweb.net/ci-docker-images/node-chromium:${{ matrix.node-version }}