mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #782] Issue: container-tools/kind-action@v1.5.0 (registry:true) not working #487
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#487
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?
Originally created by @kanedafromparis on GitHub (Aug 20, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/782
System information
Expected behaviour
Actual behaviour
this action :
works in github action but not locally.
Workflow and/or repository
I set a sample repository : https://github.com/kanedafromparis/act-issue-with-kind-registry/
Steps to reproduce
just run
actactoutputLog
@johnpoth commented on GitHub (Sep 15, 2021):
Ran into the same issue. That being said, it might be tricky to restart docker within docker ...
@catthehacker commented on GitHub (Sep 15, 2021):
This should be possible with
live-restoreoption but it would require user to configure it first or runactas root (sudo/doas/su)@johnpoth commented on GitHub (Sep 15, 2021):
The script that's being run is trying to restart docker via
sudo service docker restartinsideact's docker containercatthehacker/ubuntu:act-20.04, which doesn't exist hence the error.It's trying to restart Docker because it added an insecure registry to /etc/docker/deamon.json (the file doesn't even exists in
act's docker container).This is all because this action it thinks it's on the root machine and not in a docker container
@kanedafromparis commented on GitHub (Sep 16, 2021):
Hi, thank for your feed back.
I did found a way around using registry: false and kind load image-archive
WDYT ?
@johnpoth commented on GitHub (Sep 16, 2021):
yeah me too then in a step just before the
kind-actionsomething like:and after something like
So that the
kindcluster is setup to use your local registry.@github-actions[bot] commented on GitHub (Oct 17, 2021):
Issue is stale and will be closed in 14 days unless there is new activity