[GH-ISSUE #2] act -l broken for a run #1

Closed
opened 2026-03-01 21:39:01 +03:00 by kerem · 1 comment
Owner

Originally created by @jessfraz on GitHub (Jan 15, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/2

workflow action looks like:

action "docker-login" {
  uses = "docker://docker"
  runs = ["sh", "-c", "echo $DOCKER_AUTH | docker login --username $REGISTRY_USER --password-stdin"]
  secrets = ["DOCKER_AUTH"]
  env = {
    REGISTRY_USER = "jess"
  }
}

I get

$ act -l
Error: At 8:10: root.Action.docker-login.Runs: unknown type for string *ast.ListType

Maybe it's the pipe or env variable, haven't dug in yet :)

Originally created by @jessfraz on GitHub (Jan 15, 2019). Original GitHub issue: https://github.com/nektos/act/issues/2 workflow action looks like: ``` action "docker-login" { uses = "docker://docker" runs = ["sh", "-c", "echo $DOCKER_AUTH | docker login --username $REGISTRY_USER --password-stdin"] secrets = ["DOCKER_AUTH"] env = { REGISTRY_USER = "jess" } } ``` I get ``` $ act -l Error: At 8:10: root.Action.docker-login.Runs: unknown type for string *ast.ListType ``` Maybe it's the pipe or env variable, haven't dug in yet :)
kerem closed this issue 2026-03-01 21:39:02 +03:00
Author
Owner

@cplee commented on GitHub (Jan 15, 2019):

Thanks @jessfraz...problem was i didn't have support for Runs as a list. Fixed in release v0.0.3

<!-- gh-comment-id:454491211 --> @cplee commented on GitHub (Jan 15, 2019): Thanks @jessfraz...problem was i didn't have support for `Runs` as a list. Fixed in release `v0.0.3`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1
No description provided.