1name: Build docker image 2 3on: [push, pull_request] 4 5jobs: 6 ubuntu: 7 runs-on: ubuntu-latest 8 steps: 9 - name: Checkout master branch 10 uses: actions/checkout@v2 11 - name: Build Docker image 12 env: 13 DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} 14 DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} 15 OPENGROK_REPO_SLUG: ${{ github.repository }} 16 OPENGROK_PULL_REQUEST: ${{ github.head_ref }} 17 OPENGROK_REF: ${{ github.ref }} 18 run: ./dev/docker.sh 19