generated from bryopsida/node-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 784 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
schedule:
- cron: '22 4 * * *'
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
validate-node:
name: 'Validate'
uses: curium-rocks/flows/.github/workflows/node-ts.yml@main
permissions:
contents: read
actions: read
security-events: write
secrets:
SONARQUBE_KEY: ${{ secrets.SONARQUBE_KEY }}
with:
continue-on-prod-vulns: true
build-container:
name: 'Build container image'
uses: curium-rocks/flows/.github/workflows/oci-build-image.yml@main
needs: validate-node
permissions:
contents: read
packages: write
security-events: write
id-token: write
with:
registry: ghcr.io/bryopsida
image_name: syslog-portal
push_in_pr: true