mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #126] Can't execute actions defined as Dockerfile labels #86
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#86
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 @yanniszark on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/126
What happened:
I wanted to use this action in my workflow: https://github.com/marketplace/actions/golang-action
Running it in my workflow with act, I got:
I also noticed that the action has metadata specified as Dockerfile labels:
github.com/cedrickring/golang-action@cdeafbe2c4/DockerfileWhat I expected to happen:
I expected the workflow to run.
How to reproduce:
Try this workflow with act:
@cplee commented on GitHub (Mar 6, 2020):
As per the docs for actions:
Seems like GitHub Actions is lenient here and just assuming it's a Docker action?
@cedrickring - any reason you chose to not include an action.yml?
@cedrickring commented on GitHub (Mar 6, 2020):
The golang-action is one of the first actions here on GitHub when there was no such thing as an
action.yml. That's why it still has all the metadata in its Dockerfiles.I haven't kept up with the latest changes on the GH-Actions and missed the introduction of the new
action.ymlrepository format and I'm already trying to move away from the old repo format.For now, I can add an
action.ymljust so it can run with this tool. 👍@cplee commented on GitHub (Mar 6, 2020):
Thanks to @cedrickring for a quick update on his action! 🙏