Skip to content

Invalid repository name when running a local docker action #129

@cedrickring

Description

@cedrickring

act Version: 0.2.5
OS: macOS & Windows

When running a local docker action from a different directory, the docker build command receives an invalid repository name:

Command: docker build -t act-Users-cedrickring-golang-action:latest /Users/cedrickring/golang-action
Output: Error: invalid reference format: repository name must be lowercase

Steps to reproduce

  1. Clone cedrickring/golang-action
  2. Create a different directory with a .github/workflows/workflow.yaml and reference the action with ../relative/path/to/golang-action
  3. Run act

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/actionRelating to running an actionkind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions