Merge pull request #486 from Rombur/fix_jenkins #257
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: github-docker | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| build-master-docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Login do DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Build and push Docker image of master | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: ./.github/workflows/ | |
| file: ./.github/workflows/Dockerfile | |
| push: true | |
| tags: rombur/adamantine:latest |