Skip to content
Snippets Groups Projects
Unverified Commit 2a26c9fd authored by Henry Chen's avatar Henry Chen Committed by GitHub
Browse files

Fix container image building CI for CUDA 11/12 (#42)

parent 486a802d
Branches
Tags
No related merge requests found
...@@ -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 }}
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM nvidia/cuda:12-base-ubuntu22.04 FROM nvidia/cuda:12.2.0-base-ubuntu20.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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment