ci: build builders

This commit is contained in:
rob thijssen
2025-09-13 10:58:17 +08:00
parent 9bfd75ba35
commit 94ef423ff9
2 changed files with 20 additions and 10 deletions
+9 -5
View File
@@ -1,4 +1,4 @@
name: CUDA Builder
name: cuda builder
on:
workflow_dispatch:
@@ -6,7 +6,12 @@ on:
branches:
- main
paths:
- Containerfile
- cuda-builder.cf
pull_request:
branches:
- main
paths:
- cuda-builder.cf
permissions:
contents: read
@@ -23,8 +28,7 @@ jobs:
- 12.9.0
- 13.0.0
steps:
- name: Normalize owner and set IMAGE_NAME
shell: bash
- shell: bash
run: |
echo "IMAGE_NAME=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/cuda-builder" >> "$GITHUB_ENV"
@@ -56,7 +60,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: Containerfile
file: cuda-builder.cf
build-args: |
CUDA_TAG=${{ matrix.cuda_tag }}
pull: true