toaster update :3
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and push container image / build-and-push-image (push) Failing after 5m28s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and push container image / build-and-push-image (push) Failing after 5m28s
				
			This commit is contained in:
		
							
								
								
									
										33
									
								
								.gitea/workflows/deploy.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.gitea/workflows/deploy.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
name: Build and push container image
 | 
			
		||||
run-name: ${{ gitea.actor }} is building and pushing container image
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
 | 
			
		||||
env:
 | 
			
		||||
  GITEA_DOMAIN: git.alfieking.dev
 | 
			
		||||
  GITEA_REGISTRY_USER: acetheking987
 | 
			
		||||
  RESULT_IMAGE_NAME: acetheking987/alfieking.dev
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build-and-push-image:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    container:
 | 
			
		||||
      image: catthehacker/ubuntu:act-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
      - name: Set up Docker Buildx
 | 
			
		||||
        uses: docker/setup-buildx-action@v3
 | 
			
		||||
      - name: Log in to registry
 | 
			
		||||
        uses: docker/login-action@v3
 | 
			
		||||
        with:
 | 
			
		||||
          registry: ${{ env.GITEA_DOMAIN }}
 | 
			
		||||
          username: ${{ env.GITEA_REGISTRY_USER }}
 | 
			
		||||
          password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
 | 
			
		||||
      - name: Build and push image
 | 
			
		||||
        uses: docker/build-push-action@v6
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          tags: ${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:${{ gitea.ref }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user