-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend image loading fails when set via SHA #2027
Comments
Seems to work fine for me locally. @crazy-max Any idea what could be wrong for github? Do they inject some proxy? |
Me too.
I'm not aware of any kind of proxy on runners. The docker network configuration looks pretty basic to me: [
{
"Name": "bridge",
"Id": "74c12f96f389b11267707175b9927ea54d14ebab01cb04add8119705758eb2d4",
"Created": "2021-03-22T17:34:39.631303858Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {
"com.docker.network.bridge.default_bridge": "true",
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true",
"com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
"com.docker.network.bridge.name": "docker0",
"com.docker.network.driver.mtu": "1500"
},
"Labels": {}
},
{
"Name": "host",
"Id": "1cf77dc17686220ef8a0cc34907c2c2fa8356e68dbad6da60734f5ef40962ef1",
"Created": "2021-03-15T03:11:59.356897966Z",
"Scope": "local",
"Driver": "host",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": []
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {}
},
{
"Name": "none",
"Id": "bfb3395b5b1d4dc015c738a9e8ba33812da5ac12b02c71d7a7ea22b6d6547329",
"Created": "2021-03-15T03:11:59.266816376Z",
"Scope": "local",
"Driver": "null",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": []
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {}
}
] As well as the runner iptables:
And the daemon uses a specific parent group for all containers but don't think that's the issue: { "cgroup-parent": "/actions_job" } |
On local or in github? |
Local |
This issue appears because |
Oh, I see. Thanks for helping with this! @tonistiigi but it's okay to use the platform specific image via SHA that targets |
Hi. We are using the new BuildKit features in our Dockerfile such as
RUN --mount=type=cache
.When the docker fronted image is set like this (via tag):
Everything works fine.
But if it's set via SHA (exactly the same image with the version 1.2.1) :
Docker build fails with this error:
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: exit code: 1
Here is the link to the failing Github action: https://github.com/iotaledger/goshimmer/runs/2130957272
Here is the failing Dockerfile: https://github.com/iotaledger/goshimmer/blob/36f8a67befe32325e60d41720faf3624bf8491e7/Dockerfile
And the complete GH action log:
BTW The same Dockerfile that fails on GH actions builds fine on my machine for some reason. Referencing via tag works everywhere.
The text was updated successfully, but these errors were encountered: