mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #42] Nice error message when building image fails #22
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xendk on GitHub (Feb 22, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/42
This got me stumped for a while:
Until running act with
-vtold me that the build failed due to errors in the Dockerfile. Act v 0.1.0.@sosedoff commented on GitHub (Feb 27, 2019):
I have reported the same bug before (#33) but i think you're running an older version of
act. If you get the latest version you'll see the error message without-vflag, that should point you in the right direction.@xendk commented on GitHub (Feb 27, 2019):
Yes, I saw #33, but that didn't help me much.
Define "latest version"? I'm using 0.1.0, which is the latest release I've been able to find. The latest changes https://github.com/nektos/act/compare/v0.1.0...master doesn't suggest that this problem has been addressed (doesn't mean that it's not been fixed, just that it's not obvious it has been).
@sosedoff commented on GitHub (Feb 27, 2019):
Right, the latest version in my point of view is
go get -u github.com/nektos/actwhich translates asupdate this thing from master(or astip). That is due to me being the contributor, so i have to be on the latest.RE #33, i dont know, i had the same issue but after update i was able to see the exact error i was expecting without any debug flags.
@xendk commented on GitHub (Feb 27, 2019):
Due to not being a contributor, my definition of latest version is the top of the releases page.
Tried checking out 0.1.0 and seeing if the issue resurfaces?
@sosedoff commented on GitHub (Feb 28, 2019):
Yeah the latest published 0.1.0 release still has this problem.
@cplee commented on GitHub (Mar 1, 2019):
@xendk I have released version
0.1.1...can you confirm that fixes the issue?@xendk commented on GitHub (Mar 1, 2019):
Not really. No indication that the build failed. I was tripped up trying to reproduce as even with a
RUN falsein theDockerfile, the workflow still worked, until I figured out it was just reusing the image from previous runs.I think that
actshould notice the build failed and error out with an appropriate error message.@cplee commented on GitHub (Mar 19, 2019):
Fixed from #46 and released in
0.1.2...closing