-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fixes generation of image tag for docker runner
When a step references a local dockerfile, the tag of the image was being assigned to the GIT_TAG of the underlying git project. When a workflow gets executed in a folder that is not part of a repo, an empty tag (with a `{}` string) was being generated and this caused an error: [1] docker build popper_1_step:{} /private/tmp/example/./foo ERROR: 500 Server Error: Internal Server Error ("invalid reference format") With this commit adds logic to generate "na" as the tag for the image, when running inside a "gitless" folder. fixes #886
- Loading branch information
Showing
2 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters