Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Ialacol-build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K8s AI Models
Ialacol-build
Commits
2a26c9fd
Unverified
Commit
2a26c9fd
authored
1 year ago
by
Henry Chen
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix container image building CI for CUDA 11/12 (#42)
Signed-off-by:
Hung-Han (Henry) Chen
<
chenhungh@gmail.com
>
parent
486a802d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/cuda_image.yaml
+6
-2
6 additions, 2 deletions
.github/workflows/cuda_image.yaml
Dockerfile.cuda12
+1
-1
1 addition, 1 deletion
Dockerfile.cuda12
with
7 additions
and
3 deletions
.github/workflows/cuda_image.yaml
+
6
−
2
View file @
2a26c9fd
...
@@ -42,7 +42,9 @@ jobs:
...
@@ -42,7 +42,9 @@ jobs:
context
:
.
context
:
.
file
:
./Dockerfile.cuda11
file
:
./Dockerfile.cuda11
push
:
true
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
tags
:
|
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.CUDA_11_IMAGE_NAME }}:${{ github.sha }}
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.CUDA_11_IMAGE_NAME }}:latest
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
cuda12_image_to_gcr
:
cuda12_image_to_gcr
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
@@ -70,5 +72,7 @@ jobs:
...
@@ -70,5 +72,7 @@ jobs:
context
:
.
context
:
.
file
:
./Dockerfile.cuda12
file
:
./Dockerfile.cuda12
push
:
true
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
tags
:
|
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.CUDA_12_IMAGE_NAME }}:${{ github.sha }}
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.CUDA_12_IMAGE_NAME }}:latest
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
This diff is collapsed.
Click to expand it.
Dockerfile.cuda12
+
1
−
1
View file @
2a26c9fd
# syntax=docker/dockerfile:1
# syntax=docker/dockerfile:1
FROM nvidia/cuda:12-base-ubuntu2
2
.04
FROM nvidia/cuda:12
.2.0
-base-ubuntu2
0
.04
RUN apt-get update && apt-get install -y -q python3 python3-pip
RUN apt-get update && apt-get install -y -q python3 python3-pip
WORKDIR /app
WORKDIR /app
COPY requirements.txt requirements.txt
COPY requirements.txt requirements.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment