mirror of
				https://github.com/mariocandela/beelzebub.git
				synced 2025-07-01 18:47:26 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			680 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			680 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Docker Hub Image
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     tags:
 | |
|       - 'v*.*.*'
 | |
| 
 | |
| jobs:
 | |
|   CD:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       -
 | |
|         name: Checkout
 | |
|         uses: actions/checkout@v3
 | |
|       -
 | |
|         name: Login to Docker Hub
 | |
|         uses: docker/login-action@v2
 | |
|         with:
 | |
|           username: ${{ secrets.DOCKER_USER }}
 | |
|           password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
 | |
|       -
 | |
|         name: Set up Docker Buildx
 | |
|         uses: docker/setup-buildx-action@v2
 | |
|       -
 | |
|         name: Build and push
 | |
|         uses: docker/build-push-action@v4
 | |
|         with:
 | |
|           context: .
 | |
|           file: ./Dockerfile
 | |
|           push: true
 | |
|           tags: m4r10/beelzebub:${{  github.ref_name }} | 
