name: Build on: push: branches: [ master ] pull_request: branches: [ master ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: build: runs-on: ubuntu-latest strategy: matrix: ROS_DISTRO: [melodic, melodic_llvm, noetic, noetic_llvm] steps: - uses: actions/checkout@v2 - name: Docker login continue-on-error: true uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - name: Docker build uses: docker/build-push-action@v2 with: file: ${{github.workspace}}/docker/${{ matrix.ROS_DISTRO }}/Dockerfile context: . push: false