forked from redhat-et/triton-dev-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (53 loc) · 1.54 KB
/
cpu-image.yml
File metadata and controls
56 lines (53 loc) · 1.54 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: cpu-image
on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths:
- .github/workflows/cpu-image.yml
- dockerfiles/Dockerfile.triton-cpu
- scripts/entrypoint.sh
- scripts/devinstall_software.sh
- scripts/ldpretend.sh
- scripts/devinstall_llvm.sh
- scripts/devinstall_triton.sh
- scripts/devcreate_user.sh
- scripts/devsetup.sh
pull_request:
paths:
- .github/workflows/cpu-image.yml
- dockerfiles/Dockerfile.triton-cpu
- scripts/entrypoint.sh
- scripts/devinstall_software.sh
- scripts/ldpretend.sh
- scripts/devinstall_llvm.sh
- scripts/devinstall_triton.sh
- scripts/devcreate_user.sh
- scripts/devsetup.sh
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight UTC
workflow_dispatch:
jobs:
cpu-image-build:
uses: ./.github/workflows/image-build.yml
with:
image-name: cpu
image-tag: latest
dockerfile: dockerfiles/Dockerfile.triton-cpu
build-args: |
USERNAME=triton
CUSTOM_LLVM=false
platforms: linux/amd64
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}
cpu-image-sbom:
needs: cpu-image-build
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/image-sbom.yml
with:
image-name: cpu
image-tag: latest
secrets:
qt_username: ${{ secrets.qt_username }}
qt_password: ${{ secrets.qt_password }}