testing action
This commit is contained in:
		
							parent
							
								
									0b40dcc3cb
								
							
						
					
					
						commit
						7e81a18370
					
				@ -9,26 +9,14 @@ jobs:
 | 
				
			|||||||
  push_to_registry:
 | 
					  push_to_registry:
 | 
				
			||||||
    name: Push docker image to container registry
 | 
					    name: Push docker image to container registry
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    defaults:
 | 
				
			||||||
 | 
					      run:
 | 
				
			||||||
 | 
					        working-directory: /repo
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v3
 | 
					        uses: actions/checkout@v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Docker meta
 | 
					      - name: Deploy
 | 
				
			||||||
        id: meta
 | 
					        run: |
 | 
				
			||||||
        uses: docker/metadata-action@v4
 | 
					          docker build -t kdeppe/dotfiles:latest .
 | 
				
			||||||
        with:
 | 
					          docker push kdeppe/dotfiles
 | 
				
			||||||
          images: name/app     
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Set up QEMU
 | 
					 | 
				
			||||||
        uses: docker/setup-qemu-action@v1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Set up Docker Buildx
 | 
					 | 
				
			||||||
        uses: docker/setup-buildx-action@v1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Build and push
 | 
					 | 
				
			||||||
        uses: docker/build-push-action@v2
 | 
					 | 
				
			||||||
        with:
 | 
					 | 
				
			||||||
          context: .
 | 
					 | 
				
			||||||
          platforms: linux/amd64
 | 
					 | 
				
			||||||
          push: true
 | 
					 | 
				
			||||||
          tags: ${{ steps.meta.outputs.tags }}
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user