-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Description
The trigger is almost certainly #465 which upgraded Docker 20.10.14 -> 27.3.1. This switched to buildkit by default, which in turn changes the stage execution behavior.
This can be devastating to pipelines running tests in a separate stage:
FROM node:23.6.0@sha256:<something> AS base
FROM base AS build
COPY package.json .
COPY src .
RUN npm install
RUN npm build
FROM build AS tests
# After the upgrade to 20.18.6, these two commands to not run anymore.
COPY tests .
RUN npm test
FROM base AS image
COPY --from=build dist .
CMD ["dist/index.js"]
Metadata
Metadata
Assignees
Labels
No labels