Share via

Visual studio publish to 'Harbor' docker registry fail as the target name is rejected

Richard Ich 0 Reputation points
2023-06-14T16:22:29.8633333+00:00

The docker push command for 'Harbor' (https://goharbor.io/) is with the syntax.
docker push mydomain:5000/myapp/repository:latest

the target with the an appendix /repository.

Since the publish give the target name automatically with the rule

{registry url}/{visual studio project name}

The publish fail as the target path is rejected.

Is it possible to customize the docker push parameter in pubxml or in any other settings.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.