troubleshooting
This commit is contained in:
		@@ -40,12 +40,19 @@ jobs:
 | 
				
			|||||||
          username: rogersik
 | 
					          username: rogersik
 | 
				
			||||||
          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
					          password: ${{ secrets.REGISTRY_PASSWORD }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build and push Docker image
 | 
					      - name: Build and push Docker image with Buildx
 | 
				
			||||||
 | 
					        env:
 | 
				
			||||||
 | 
					          DOCKER_HOST: tcp://localhost:2375
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
 | 
					          # create builder instance
 | 
				
			||||||
 | 
					          docker buildx create --name mybuilder --use || true
 | 
				
			||||||
 | 
					          docker buildx inspect --bootstrap
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          # build and push
 | 
				
			||||||
          docker buildx build \
 | 
					          docker buildx build \
 | 
				
			||||||
            --platform linux/amd64,linux/arm64 \
 | 
					            --platform linux/amd64,linux/arm64 \
 | 
				
			||||||
            --tag gitea.sikorski.cloud/rogersik/monica:${CLEAN_BRANCH_NAME} \
 | 
					            --tag gitea.sikorski.cloud/rogersik/monica:${{ env.CLEAN_BRANCH_NAME }} \
 | 
				
			||||||
            --cache-from=type=registry,ref=gitea.sikorski.cloud/rogersik/monica:cache \
 | 
					            --cache-from=type=registry,ref=gitea.sikorski.cloud/rogersik/monica:cache \
 | 
				
			||||||
            --cache-to=type=registry,ref=gitea.sikorski.cloud/rogersik/monica:cache,mode=max \
 | 
					            --cache-to=type=registry,ref=gitea.sikorski.cloud/rogersik/monica:cache,mode=max \
 | 
				
			||||||
            --push \
 | 
					            --push \
 | 
				
			||||||
            .
 | 
					      .
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user