mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #767] [MERGED] Fix docker: invalid reference format #1596
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#1596
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/767
Author: @ChristopherHX
Created: 8/8/2021
Status: ✅ Merged
Merged: 8/9/2021
Merged by: @mergify[bot]
Base:
master← Head:fix/invalid-reference-format📝 Commits (9)
8608933Fix local Docker actions: invalid reference format9d1dbbcCreate Dockerfile1f05c37Create Dockerfile8c32e84Update push.ymlf8efae5Revert "Create Dockerfile"e332c66Fix lint1150eb9fix: re-use image that is already present in repofccef88fix: revert change079c8aeMerge branch 'master' into fix/invalid-reference-format📊 Changes
3 files changed (+5 additions, -1 deletions)
View changed files
📝
pkg/runner/step_context.go(+2 -1)📝
pkg/runner/testdata/local-action-dockerfile/push.yml(+1 -0)➕
pkg/runner/testdata/localdockerimagetest_/Dockerfile(+2 -0)📄 Description
Added a test to enshure that docker actions with names ending by anything which matches against
[^a-zA-Z0-9]will still generate a valid docker container name../test_would get image name likeact-test-:latest=> docker fails without this changeFixes #744
Fixes #756
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.