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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,375 questions
{count} votes

Your answer

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