File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ jobs:
4747
4848 - name : Build and push container
4949 run : |
50- - name : Build and push container
51- run : |
52- dotnet publish Web/Web.csproj \
53- --os linux \
54- --arch x64 \
55- -c Release \
56- --self-contained \
57- /p:PublishProfile=DefaultContainer \
58- /p:ContainerImageName =${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
59- /p:ContainerImageTags='${{ steps.meta.outputs.tags }}'
50+ # Convert comma-separated tags to semicolon-separated for .NET SDK
51+ TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr ',' ';')
52+ dotnet publish Web/Web.csproj \
53+ --os linux \
54+ --arch x64 \
55+ -c Release \
56+ --self-contained \
57+ /p:PublishProfile=DefaultContainer \
58+ /p:ContainerRepository =${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
59+ /p:ContainerImageTags="$TAGS"
You can’t perform that action at this time.
0 commit comments