Update master_push.yml
This commit is contained in:
6
.github/workflows/master_push.yml
vendored
6
.github/workflows/master_push.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
uses: microsoft/variable-substitution@v1
|
uses: microsoft/variable-substitution@v1
|
||||||
if: ${{ matrix.app == 'WatchIt.WebAPI' }}
|
if: ${{ matrix.app == 'WatchIt.WebAPI' }}
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/appsettings.json
|
files: ${{ github.workspace }}/${{ matrix.app }}/appsettings.json
|
||||||
env:
|
env:
|
||||||
ConnectionStrings.Default: ${{ secrets.CONNECTION_STRING }}
|
ConnectionStrings.Default: ${{ secrets.CONNECTION_STRING }}
|
||||||
RootUser.Email: ${{ secrets.ROOT_EMAIL }}
|
RootUser.Email: ${{ secrets.ROOT_EMAIL }}
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
uses: microsoft/variable-substitution@v1
|
uses: microsoft/variable-substitution@v1
|
||||||
if: ${{ matrix.app == 'WatchIt.Website' }}
|
if: ${{ matrix.app == 'WatchIt.Website' }}
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/appsettings.json
|
files: ${{ github.workspace }}/${{ matrix.app }}/appsettings.json
|
||||||
env:
|
env:
|
||||||
Endpoints.Base: ${{ secrets.API_URL }}
|
Endpoints.Base: ${{ secrets.API_URL }}
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
string: ${{ matrix.app }}
|
string: ${{ matrix.app }}
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: docker build ${{ github.workspace }} -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:${{steps.gitversion.outputs.SemVer}} -f ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile
|
run: docker build ${{ github.workspace }} -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest -t ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:${{steps.gitversion.outputs.SemVer}} -f ${{ github.workspace }}/${{ matrix.app }}/Dockerfile
|
||||||
- name: Publish image
|
- name: Publish image
|
||||||
run: docker push ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }} --all-tags
|
run: docker push ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }} --all-tags
|
||||||
outputs:
|
outputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user