Skip to content

Commit 6dc10ad

Browse files
committed
fix FROM/as Casing in docker
1 parent 1157e8c commit 6dc10ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
--cache-to type=local,dest=/tmp/.buildx-cache,mode=max \
4444
--tag torch-floating-point:latest \
4545
--file Dockerfile \
46+
--load \
4647
.
4748
4849
# Clean up

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN pip install --no-cache-dir pytest parameterized numpy ninja
2828
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
2929

3030
# Build stage - copy dependency files first for better caching
31-
FROM base as builder
31+
FROM base AS builder
3232
WORKDIR /app
3333

3434
# Copy dependency files first
@@ -46,7 +46,7 @@ RUN python setup.py clean --all
4646
RUN python setup.py build_ext --inplace
4747

4848
# Runtime stage - minimal image with just the built extension
49-
FROM base as runtime
49+
FROM base AS runtime
5050
WORKDIR /app
5151

5252
# Copy only the built extension and necessary files

0 commit comments

Comments
 (0)