fix: pass COMMIT_SHA build arg to Docker for CI status display
Build & Push Portfolio Image / build-push (push) Successful in 3m27s

This commit is contained in:
Story Crater Bot
2026-09-02 10:14:36 -07:00
parent da64fe930b
commit 7e8d6c3afa
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ RUN pnpm install --frozen-lockfile --ignore-scripts
# Copy source
COPY . .
# Pass commit SHA at build time
ARG COMMIT_SHA=dev
ENV COMMIT_SHA=${COMMIT_SHA}
# Build Next.js app
RUN pnpm run build