diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index e324225..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build a Docker image and Push it to ACR - -on: - push: - branches: [azureFlow] - pull_request: - branches: [azureFlow] - - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: azure/docker-login@v1 - with: - login-server: ${{ secrets.ACR_ENDPOINT }} - username: ${{ secrets.ACR_USERNAME }} - password: ${{ secrets.ACR_PASSWORD }} - - run: | - docker build . -t ${{ secrets.ACR_ENDPOINT }}/mh-service:${{ github.sha }} - docker push ${{ secrets.ACR_ENDPOINT }}/mh-service:${{ github.sha }}