All checks were successful
		
		
	
	Build Docker Image / Explore-Gitea-Actions (push) Successful in 3m5s
				
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			812 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			812 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build Docker Image
 | |
| on:
 | |
|   push:
 | |
|     branches:
 | |
|       - main
 | |
| 
 | |
| jobs:
 | |
|   Explore-Gitea-Actions:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout code
 | |
|         uses: https://git.martin98.com/actions/checkout.git@v4
 | |
| 
 | |
|       - name: Log in to Docker Hub
 | |
|         uses: https://git.martin98.com/actions/login-action.git@v3
 | |
|         with:
 | |
|           registry: ${{ vars.DOCKER_HUB }}
 | |
|           username: ${{ vars.DOCKER_USERNAME }}
 | |
|           password: ${{ vars.DOCKER_PASSWORD }}
 | |
| 
 | |
|       - name: Build and push
 | |
|         uses: https://git.martin98.com/actions/build-push-action.git@v4
 | |
|         with:
 | |
|           context: .
 | |
|           platforms: linux/amd64
 | |
|           push: true
 | |
|           tags: |
 | |
|             docker.martin98.com/martin_farm/init:latest
 | |
|             docker.martin98.com/martin_farm/init:${{ github.sha }} |