diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 7f7c455..21575d4 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -33,11 +33,13 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build image - run: docker build . --tag ghcr.io/${{ github.repository }}/flight:latest -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" + run: | + docker build . --tag ghcr.io/${{ github.repository }}/flight:latest -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" # docker build -t meysamh66/booking-microservices/flight:latest -f ./src/Services/Flight/Dockerfile . - name: Publish image - run: docker push ghcr.io/${{ github.repository }}/flight:latest + run: | + docker push ghcr.io/${{ github.repository }}/flight:latest # docker push meysamh66/booking-microservices/flight:latest