You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation does not mention anything about my problem
There are no open or closed issues that are related to my problem
Description
I can managed to login my private registry, but I can't build and push. At the top of my Dockerfile the line : FROM myregistry/myimage:latest failed. I'm getting x509 error.
Expected behaviour
Once login is done, I should build the image using Dockerfile.
Actual behaviour
The build failed with x509 error.
Repository URL
No response
Workflow run URL
No response
YAML workflow
name: cion:
push:
branches: mainjobs:
login:
runs-on: ubuntu-lateststeps:
- name: Check out repository codeuses: actions/checkout@v4
- name: Construction du containeruses: docker/setup-buildx-action@v3
- name: Login to myRegistryuses: docker/login-action@v3with:
registry: registry.athome.frusername: ${{ secrets.REGISTRYNAME }}password: ${{ secrets.REGISTRYPASS }}
- name: Build and pushuses: docker/build-push-action@v5with:
context: .file: ./Dockerfilepush: truetags: registry.athome.fr/monrepo:v1
Workflow logs
`
Dockerfile:1
--------------------
1 | >>> FROM registry.athome.fr/mcusyspreweb:latest
2 | LABEL authors="xavier"
3 | CMD touch /coucou.txt
--------------------
ERROR: failed to solve: registry.athome.fr/mcusyspreweb:latest: failed to do request: Head "https://registry.athome.fr/v2/mcusyspreweb/manifests/latest": tls: failed to verify certificate: x509: certificate signed by unknown authority
Error: buildx failed with: ERROR: failed to solve: registry.athome.fr/mcusyspreweb:latest: failed to do request: Head "https://registry.athome.fr/v2/mcusyspreweb/manifests/latest": tls: failed to verify certificate: x509: certificate signed by unknown authority
BuildKit logs
No response
Additional info
I can manage to execute this command in the runner : docker login -u blabl -p blabla myrgistry.athome.fr.
I've added the registry.crt file in /etc/docker/certs.d/myregistry.athome.fr/registry.crt.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Contributing guidelines
I've found a bug, and:
Description
I can managed to login my private registry, but I can't build and push. At the top of my Dockerfile the line :
FROM myregistry/myimage:latest
failed. I'm getting x509 error.Expected behaviour
Once login is done, I should build the image using Dockerfile.
Actual behaviour
The build failed with x509 error.
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
I can manage to execute this command in the runner : docker login -u blabl -p blabla myrgistry.athome.fr.
I've added the registry.crt file in /etc/docker/certs.d/myregistry.athome.fr/registry.crt.
Thanks for your help.
The text was updated successfully, but these errors were encountered: