[GH-ISSUE #129] Invalid repository name when running a local docker action #89

Closed
opened 2026-03-01 21:39:59 +03:00 by kerem · 2 comments
Owner

Originally created by @cedrickring on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/129

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
Originally created by @cedrickring on GitHub (Mar 6, 2020). Original GitHub issue: https://github.com/nektos/act/issues/129 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](https://github.com/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`
kerem 2026-03-01 21:39:59 +03:00
Author
Owner

@cedrickring commented on GitHub (Mar 6, 2020):

I don't really know if Github allows this but this happened to me while trying to create a workaround for #128.

<!-- gh-comment-id:595892417 --> @cedrickring commented on GitHub (Mar 6, 2020): I don't really know if Github allows this but this happened to me while trying to create a workaround for #128.
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

fixed on master. will cut a new release later today.

<!-- gh-comment-id:595895112 --> @cplee commented on GitHub (Mar 6, 2020): fixed on `master`. will cut a new release later today.
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#89
No description provided.