-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (36 loc) · 1.01 KB
/
gosu-image.yml
File metadata and controls
39 lines (36 loc) · 1.01 KB
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
35
36
37
38
39
name: gosu-image
on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths:
- .github/workflows/gosu-image.yml
- dockerfiles/Dockerfile.gosu
pull_request:
paths:
- .github/workflows/gosu-image.yml
- dockerfiles/Dockerfile.gosu
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC
workflow_dispatch:
jobs:
gosu-image-build:
uses: ./.github/workflows/image-build.yml
with:
image-name: gosu
image-tag: latest
dockerfile: dockerfiles/Dockerfile.gosu
platforms: linux/amd64
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}
gosu-image-sbom:
needs: gosu-image-build
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/image-sbom.yml
with:
image-name: gosu
image-tag: latest
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}