Skip to content

Cannot use -p=ContainerImageTags= with multiple tags separated by ; #492

Open
@JohnGalt1717

Description

@JohnGalt1717

Describe the bug

If you use -p=ContainerImageTags=latest;{githubid injected here} the command line doesn't work on github actions nor by putting a random value in locally. None of the escape techniques including %3b works. If you use %3b you get no actual build of the container, just an artifact left on disk. If you use " it doesn't work. If you use '" it doesn't work. If you use "" it doesn't work.

Either the documentation needs to be updated to explain how to properly escape this, or this needs to be fixed to work correctly.

To Reproduce

dotnet publish proj.csproj -c Release -r linux-x64 -p:PublishProfile=DefaultContainer -p:ContainerImageTags=latest;1234 --no-self-contained -bl

Further technical details

dotnet cli with .net 7.400 sdk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions