mirror of
				https://github.com/bcye/structured-wikivoyage-exports.git
				synced 2025-10-31 07:02:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			871 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			871 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build Docker Image
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     tags:
 | |
|       - "docker/*"
 | |
| 
 | |
| jobs:
 | |
|   docker:
 | |
|     runs-on: ubuntu-latest
 | |
|     permissions:
 | |
|       packages: write
 | |
|       contents: read
 | |
|       id-token: write
 | |
|     steps:
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v4
 | |
| 
 | |
|       - name: Login to GitHub Container Registry
 | |
|         uses: docker/login-action@v3
 | |
|         with:
 | |
|           registry: ghcr.io
 | |
|           username: ${{ github.actor }}
 | |
|           password: ${{ secrets.GITHUB_TOKEN }}
 | |
| 
 | |
|       - name: Set up QEMU for multi-platform builds
 | |
|         uses: docker/setup-qemu-action@v3
 | |
| 
 | |
|       - name: Set up Docker Buildx
 | |
|         uses: docker/setup-buildx-action@v3
 | |
| 
 | |
|       - name: Build and push
 | |
|         uses: docker/build-push-action@v6
 | |
|         with:
 | |
|           platforms: linux/amd64,linux/arm64
 | |
|           push: true
 | |
|           tags: ghcr.io/bcye/structured-wikivoyage-exports:latest
 |