mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Minor changes.
This commit is contained in:
		
							parent
							
								
									c5baf34b7e
								
							
						
					
					
						commit
						aeff8ac832
					
				
					 1 changed files with 9 additions and 4 deletions
				
			
		
							
								
								
									
										13
									
								
								.github/workflows/image.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/image.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,4 +1,4 @@ | ||||||
| name: Build Docker Image + Push | name: CodeQL + Docker Image | ||||||
| on: | on: | ||||||
|     push: |     push: | ||||||
|         branches: |         branches: | ||||||
|  | @ -7,9 +7,8 @@ on: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|     analyze: |     analyze: | ||||||
|         name: Analyze |         name: CodeQL Analysis | ||||||
|         runs-on: ubuntu-latest |         runs-on: ubuntu-latest | ||||||
| 
 |  | ||||||
|         steps: |         steps: | ||||||
|             - name: Checkout repository |             - name: Checkout repository | ||||||
|               uses: actions/checkout@v2 |               uses: actions/checkout@v2 | ||||||
|  | @ -35,18 +34,24 @@ jobs: | ||||||
|               uses: github/codeql-action/analyze@v1 |               uses: github/codeql-action/analyze@v1 | ||||||
| 
 | 
 | ||||||
|     build: |     build: | ||||||
|  |         name: Build Docker Image | ||||||
|         needs: analyze |         needs: analyze | ||||||
|         runs-on: ubuntu-latest |         runs-on: ubuntu-latest | ||||||
|         steps: |         steps: | ||||||
|             - name: Checkout code |             - name: Checkout repository | ||||||
|               uses: actions/checkout@v2 |               uses: actions/checkout@v2 | ||||||
|  |               with: | ||||||
|  |                   fetch-depth: 2 | ||||||
|  | 
 | ||||||
|             - name: Install Docker BuildX |             - name: Install Docker BuildX | ||||||
|               id: buildx |               id: buildx | ||||||
|               uses: crazy-max/ghaction-docker-buildx@v1 |               uses: crazy-max/ghaction-docker-buildx@v1 | ||||||
|               with: |               with: | ||||||
|                   buildx-version: latest |                   buildx-version: latest | ||||||
|  | 
 | ||||||
|             - name: Login to Docker Hub |             - name: Login to Docker Hub | ||||||
|               run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin |               run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | ||||||
|  | 
 | ||||||
|             - name: Build the image |             - name: Build the image | ||||||
|               run: | |               run: | | ||||||
|                   docker buildx build \ |                   docker buildx build \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue