mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	Cleanup github workflows
Took 9 minutes
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,7 +1,11 @@ | ||||
| version: 2 | ||||
| updates: | ||||
| - package-ecosystem: docker | ||||
|   directory: "/docker" | ||||
|   schedule: | ||||
|     interval: daily | ||||
|   open-pull-requests-limit: 10 | ||||
|   - package-ecosystem: "github-actions" | ||||
|     directory: "/" | ||||
|     schedule: | ||||
|       interval: "daily" | ||||
|  | ||||
|   - package-ecosystem: docker | ||||
|     directory: "/docker" | ||||
|     schedule: | ||||
|       interval: "daily" | ||||
|   | ||||
| @@ -4,19 +4,25 @@ on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|     tags: | ||||
|       - latest | ||||
|   pull_request: | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
| 
 | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
|       - name: Set up QEMU | ||||
|         uses: docker/setup-qemu-action@v3 | ||||
| 
 | ||||
|       - name: build and push | ||||
|         if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }} | ||||
|         env: | ||||
|           DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||||
|           DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||||
|         run: | | ||||
|           ./build.py --push-tags --multiarch | ||||
|           ./build.py --push-tags --multiarch | ||||
							
								
								
									
										1
									
								
								.github/workflows/docker-description.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/docker-description.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,6 +11,7 @@ jobs: | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Docker Hub Description | ||||
|         uses: peter-evans/dockerhub-description@v2.4.1 | ||||
|         if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }} | ||||
|   | ||||
							
								
								
									
										22
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,22 +0,0 @@ | ||||
| name: Docker build | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
|   push: | ||||
|     tags: | ||||
|       - latest | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Set up QEMU | ||||
|         uses: docker/setup-qemu-action@v3 | ||||
|       - name: build | ||||
|         env: | ||||
|           DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||||
|           DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||||
|         run: | | ||||
|           ./build.py --multiarch | ||||
							
								
								
									
										8
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,7 +10,9 @@ jobs: | ||||
|   shellcheck: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: shellcheck | ||||
|         uses: reviewdog/action-shellcheck@v1 | ||||
|         with: | ||||
| @@ -20,7 +22,9 @@ jobs: | ||||
|   hadolint: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: hadolint | ||||
|         uses: reviewdog/action-hadolint@v1 | ||||
|         with: | ||||
|   | ||||
							
								
								
									
										11
									
								
								.github/workflows/update.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/update.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,20 +4,15 @@ on: | ||||
|   schedule: | ||||
|     - cron: "0 * * * *" | ||||
|   workflow_dispatch: | ||||
|     inputs: | ||||
|       desc: | ||||
|         description: "desc" | ||||
|         required: false | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|   check: | ||||
|     runs-on: ubuntu-latest | ||||
|     if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'factoriotools/factorio-docker') | ||||
|  | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|         with: | ||||
|           token: ${{ secrets.REPO_TOKEN }} | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v3 | ||||
|  | ||||
|       - name: Run update script | ||||
|         run: ./update.sh | ||||
|   | ||||
		Reference in New Issue
	
	Block a user