File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 -p:PublishProfile=DefaultContainer \
3737 -p:ContainerRegistry=ghcr.io \
3838 -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-api \
39- -p:ContainerImageTags=${{ github.sha }};latest
39+ -p:ContainerImageTags=" ${{ github.sha }};latest"
4040
4141 - name : Publish Blazor container image
4242 run : |
@@ -45,12 +45,14 @@ jobs:
4545 -p:PublishProfile=DefaultContainer \
4646 -p:ContainerRegistry=ghcr.io \
4747 -p:ContainerRepository=${{ github.repository_owner }}/fsh-playground-blazor \
48- -p:ContainerImageTags=${{ github.sha }};latest
48+ -p:ContainerImageTags=" ${{ github.sha }};latest"
4949
50- - name : Push API image to GHCR
50+ - name : Push API images to GHCR
5151 run : |
52- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-api --all-tags
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
5354
54- - name : Push Blazor image to GHCR
55+ - name : Push Blazor images to GHCR
5556 run : |
56- docker push ghcr.io/${{ github.repository_owner }}/fsh-playground-blazor --all-tags
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
You can’t perform that action at this time.
0 commit comments