Skip to content

Fix Docker module name in build-info#617

Merged
yahavi merged 1 commit intojfrog:masterfrom
yahavi:docker-module
Feb 15, 2022
Merged

Fix Docker module name in build-info#617
yahavi merged 1 commit intojfrog:masterfrom
yahavi:docker-module

Conversation

@yahavi
Copy link
Copy Markdown
Member

@yahavi yahavi commented Feb 15, 2022

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Background
Currently, there are at least 2 ways to configure the Docker registry URL:

  1. Using a reverse proxy or using the full path to the repository: acme-docker-local.jfrog.io.
  2. Using URL to the Docker repository: acme.jfrog.io/docker-local

Expected
In the generated build-info, the module ID should be <image-name>/<image-tag>.

Actual
When configuring URL to Docker repository as a Docker registry, the module ID, in this case: docker-local/<image-name>/<image-tag>.

@yahavi yahavi requested review from Or-Geva and eyalbe4 February 15, 2022 12:48
@yahavi yahavi self-assigned this Feb 15, 2022
@yahavi yahavi merged commit 997e40f into jfrog:master Feb 15, 2022
@yahavi yahavi deleted the docker-module branch February 15, 2022 14:12
@gangefors
Copy link
Copy Markdown

This pull request broke the module id name for any image that contains more than one slash.

See #665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants