@@ -30,29 +30,19 @@ jobs:
3030 password : ${{ secrets.GITHUB_TOKEN }}
3131
3232 - name : Publish API container image
33+ working-directory : ./src/Playground/Playground.Api/Playground.Api.csproj
3334 run : |
34- dotnet publish src/Playground/Playground.Api/Playground.Api.csproj \
35- -c Release -r linux-x64 \
36- -p:PublishProfile=DefaultContainer \
37- -p:ContainerRegistry=ghcr.io \
38- -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-api \
39- -p:ContainerImageTags='${{ github.sha }};latest'
35+ dotnet publish -c Release -p:RuntimeIdentifier=linux-x64 -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-api -p:ContainerImageTags='${{ github.sha }};latest'
4036
4137 - name : Publish Blazor container image
38+ working-directory : ./src/Playground/Playground.Blazor/Playground.Blazor.csproj
4239 run : |
43- dotnet publish src/Playground/Playground.Blazor/Playground.Blazor.csproj \
44- -c Release -r linux-x64 \
45- -p:PublishProfile=DefaultContainer \
46- -p:ContainerRegistry=ghcr.io \
47- -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-blazor \
48- -p:ContainerImageTags='${{ github.sha }};latest'
40+ dotnet publish -c Release -p:RuntimeIdentifier=linux-x64 -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-blazor -p:ContainerImageTags='${{ github.sha }};latest'
4941
5042 - name : Push API images to GHCR
5143 run : |
52- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-api:${{ github.sha }}
53- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-api:latest
44+ docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-api --all-tags
5445
5546 - name : Push Blazor images to GHCR
5647 run : |
57- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-blazor:${{ github.sha }}
58- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-blazor:latest
48+ docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-blazor --all-tags
0 commit comments