* Build master and stable branches * Updated README.md * Added github action to publish package * Updated python to 3.8.2-r1 for docker images * poetry update * 0.0.2a2 * Hotfix: Build latest docker image from Dockerfile.dev
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build latest tag docker image
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches:
 | |
|         - master
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|     - uses: actions/checkout@v2
 | |
| 
 | |
|     - name: Build the Docker image
 | |
|       run: docker build --tag butterrobot:$(git rev-parse --short HEAD) -f Dockerfile.dev .
 | |
| 
 | |
|     - name: Push into Github packages (latest)
 | |
|       run: |
 | |
|         echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u fmartingr --password-stdin
 | |
|         docker tag butterrobot:$(git rev-parse --short HEAD) docker.pkg.github.com/fmartingr/butterrobot/butterrobot:latest
 | |
|         docker push docker.pkg.github.com/fmartingr/butterrobot/butterrobot:latest
 |