CI update
This commit is contained in:
parent
8a4328004c
commit
a3bda978bf
2 changed files with 16 additions and 4 deletions
.forgejo/workflows
|
@ -1,11 +1,19 @@
|
|||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 1'
|
||||
push:
|
||||
tags:
|
||||
- '[0-9]+\.[0-9]+\.[0-9]+'
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- '.forgejo/workflows/*'
|
||||
- 'Dockerfile'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: dind
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [ "20", "22", "23" ]
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
@ -19,7 +27,9 @@ jobs:
|
|||
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
|
||||
build-args: |
|
||||
NODE_VERSION=${{ matrix.node-version }}
|
||||
tags: forgejo.neshweb.net/ci-docker-images/node-chromium:${{ matrix.node-version }}
|
||||
|
||||
release:
|
||||
needs: [build]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue