You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue status: Bug confirmed. I've tried to catch the bug, no success so far, but will try to fix this asap.
Debug context for further investigation:
Building werf-issue-base image alone does not results in panic: werf build werf-issue-base. But building two images werf-issue and werf-issue-base results in panic.
If I alter werf-issue Containerfile so that there will be single stage, no panic occurs.
If no multiplatform mode used, then no panic occurs either.
Panic related to the empty StageID field of werf-issue-base last stage. This stage was somehow reset to empty baseStageImage object, which is incorrect.
=> So the bug is related to the dependencies usage + multistage Containerfile + multiplatform building.
Before proceeding
Version
1.2.248
How to reproduce
Repro repository here: https://github.com/jarojasm95/werf-issue
git clone git@github.com:jarojasm95/werf-issue.git
export WERF_BUILDAH_MODE=auto
werf build
Result
Expected result
Successful build
Additional information
No response
The text was updated successfully, but these errors were encountered: