Merge pull request #7 from qcrisw/update-agent #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Image CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| buildAndPush: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Log in to Docker repository | |
| uses: docker/login-action@v1.10.0 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| - name: Build Docker image | |
| run: docker build . --tag qcrisw/azagent:latest | |
| - name: Push Docker image | |
| run: docker push qcrisw/azagent:latest |