mirror of
https://github.com/nektos/act.git
synced 2026-04-25 17:05:50 +03:00
[GH-ISSUE #918] Issue: E: The repository 'https://packages.microsoft.com/ubuntu/20.04/prod focal Release' does not have a Release file. #545
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#545
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 @razr on GitHub (Dec 8, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/918
System information
act:actversion:b910a42edfExpected behaviour
Actual behaviour
It fails to run my workflow from https://github.com/razr/linux-real-time-kernel-builder/blob/get-from-git/.github/workflows/rpi4-kernel-build.yml#L51 which runs fine on GitHub premises.
Workflow and/or repository
https://github.com/razr/linux-real-time-kernel-builder/blob/get-from-git/.github/workflows/rpi4-kernel-build.yml
Steps to reproduce
actactoutputLog
@catthehacker commented on GitHub (Dec 8, 2021):
Are you behind some proxy or have outdated docker image?
Image and
actworks fine for me@razr commented on GitHub (Dec 8, 2021):
@catthehacker I'm using
actfor the first time. It was never a problem to usedocker buildon this machine. Let me try it on another machine as well.@razr commented on GitHub (Dec 8, 2021):
It looks like my issue is similar to https://github.com/dotnet/core/issues/3206
On my other machine, it works without any problem
@ChristopherHX commented on GitHub (Dec 8, 2021):
Thats very easy to get with act, because act doesn't pull the image before running ( by default ).
I would suggest to run
act --pull. I assume act will update the docker image for you,if you have been using act for a while.That's pretty weird if the same docker container has certificate problems on some machines, especially due to the same trusted certificates.
@razr commented on GitHub (Dec 8, 2021):
@ChristopherHX it does not help, unfortunately. I have the same error:
It works on my host, but not inside docker
@razr commented on GitHub (Dec 8, 2021):
here is the fix
-v /etc/ssl/certs:/etc/ssl/certs:ro:@catthehacker commented on GitHub (Dec 9, 2021):
I have no idea why that could happen.
Could you post output of below command?
@razr commented on GitHub (Dec 9, 2021):
I think it might be related to how the firewall is set within my company network. it is similar to https://coderedirect.com/questions/331469/how-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chai
Is it a way to run
actwith a volume mounted as/etc/ssl/certs:/etc/ssl/certs:ro:? It mounts all necessary certificates inside the docker container.Another possibility is to disable a certificate check inside the docker container as
@catthehacker commented on GitHub (Dec 9, 2021):
Not yet but I'm working on that, will be part of bigger PR for adjusting Docker support
@github-actions[bot] commented on GitHub (Jan 9, 2022):
Issue is stale and will be closed in 14 days unless there is new activity
@GershyRbi commented on GitHub (Jan 25, 2023):
Hi @razr, I see you closed this as completed - can you explain how to access the functionality of mounting a custom certificates directory to the
actdocker container? Thanks!@ChristopherHX commented on GitHub (Jan 25, 2023):
Maybe
--container-options "-v /etc/ssl/certs:/etc/ssl/certs:ro:", (this is a recently added cli option ~dec. 2022)I think this was closed, as a reaction to the stale bot
@razr commented on GitHub (Jan 25, 2023):
Hey, @GershyRbi if I recall it correctly, I have asked IT to add packages.microsoft.com to the certificate chain.