Skip to content
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

[bug] When the image repository address selected for pipeline construction is inconsistent with the 'from' address in the service's dockerfile, it will result in the inability to pull the underlying image of 'from' #3657

Open
ItBayMax opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ItBayMax
Copy link

What happened?
When the image repository address selected for pipeline construction is inconsistent with the 'from' address in the service's dockerfile, it will result in the inability to pull the underlying image of 'from'

What did you expect to happen?
The build tasks in the pipeline should automatically log in to the from base image repository defined in Dockerfile, as the base image and the image built by the project may not be located in the same image repository.

How To Reproduce it(as minimally and precisely as possible)
1、The from address in the dockerfile of the project service is: 192.168.100.100:3000/public
2、The task address of the assembly line is: 192.168.100.200:3000/project
3、At this time, it is not possible to pull the image from Dockerfile because the image repository selected by the build task in the pipeline will be used for login
4、However, if the image repository parameters in the pipeline construction task are changed to be consistent with those in the dockerfile, it will also result in the inability to push the constructed images

Versions Used
zadig: 3.0
kubernetes: v1.22.12, KubeSphere 3.4.1

@ItBayMax ItBayMax added the bug Something isn't working label Aug 19, 2024
@landylee007 landylee007 assigned PetrusZ and unassigned jamsman94 Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants