parent
							
								
									67e6c9d790
								
							
						
					
					
						commit
						8f1c60698c
					
				
				 1 changed files with 25 additions and 25 deletions
			
			
		| @ -1,26 +1,26 @@ | |||||||
| name: simulator | # name: simulator | ||||||
| on: | # on: | ||||||
|   push: | #   push: | ||||||
|   pull_request: | #   pull_request: | ||||||
| 
 | 
 | ||||||
| jobs: | # jobs: | ||||||
|   docker_build: | #   docker_build: | ||||||
|     name: build container | #     name: build container | ||||||
|     runs-on: ubuntu-16.04 | #     runs-on: ubuntu-16.04 | ||||||
|     timeout-minutes: 50 | #     timeout-minutes: 50 | ||||||
|     if: github.repository == 'commaai/openpilot' | #     if: github.repository == 'commaai/openpilot' | ||||||
|     steps: | #     steps: | ||||||
|     - uses: actions/checkout@v2 | #     - uses: actions/checkout@v2 | ||||||
|       with: | #       with: | ||||||
|         submodules: true | #         submodules: true | ||||||
|         lfs: true | #         lfs: true | ||||||
|     - name: Docker build | #     - name: Docker build | ||||||
|       run: | | #       run: | | ||||||
|         docker pull commaai/openpilot-sim:latest || true | #         docker pull commaai/openpilot-sim:latest || true | ||||||
|         tools/sim/build_container.sh | #         tools/sim/build_container.sh | ||||||
|     - name: Push to dockerhub | #     - name: Push to dockerhub | ||||||
|       if: github.ref == 'refs/heads/master' | #       if: github.ref == 'refs/heads/master' | ||||||
|       run: | | #       run: | | ||||||
|         docker login -u wmelching -p ${{ secrets.COMMA_DOCKERHUB_TOKEN }} | #         docker login -u wmelching -p ${{ secrets.COMMA_DOCKERHUB_TOKEN }} | ||||||
|         docker tag commaai/openpilot-sim docker.io/commaai/openpilot-sim:latest | #         docker tag commaai/openpilot-sim docker.io/commaai/openpilot-sim:latest | ||||||
|         docker push docker.io/commaai/openpilot-sim:latest | #         docker push docker.io/commaai/openpilot-sim:latest | ||||||
|  | |||||||
					Loading…
					
					
				
		Reference in new issue