ci: build builders
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user