mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-10-25 11:17:28 +02:00 
			
		
		
		
	Arm docker support (#19)
This commit is contained in:
		
							parent
							
								
									c5dd94f3e3
								
							
						
					
					
						commit
						bcc10b0186
					
				
							
								
								
									
										31
									
								
								.github/workflows/push-docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/push-docker.yml
									
									
									
									
										vendored
									
									
								
							| @ -38,23 +38,20 @@ jobs: | |||||||
|         username: ${{ secrets.DOCKER_HUB_USERNAME }} |         username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||||||
|         password: ${{ secrets.DOCKER_HUB_API }}  |         password: ${{ secrets.DOCKER_HUB_API }}  | ||||||
|          |          | ||||||
|   |     - name: Setup buildx | ||||||
|     - name: Build and push |       run: | | ||||||
|       uses: docker/build-push-action@v3 |         docker buildx create --name mybuilder | ||||||
|  |         docker buildx use mybuilder | ||||||
|  |          | ||||||
|  |     - name: Build and push versioned amd64 and v8 | ||||||
|       if: github.ref == 'refs/heads/main'  |       if: github.ref == 'refs/heads/main'  | ||||||
|       with: |       run: |  | ||||||
|         context: . |         docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}" . | ||||||
|         push: true |  | ||||||
|         tags: | |  | ||||||
|           frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} |  | ||||||
| 
 | 
 | ||||||
|     - name: Build and push |     | ||||||
|       uses: docker/build-push-action@v3 |     - name: Build and push latest amd64 and v8 | ||||||
|       if: github.ref == 'refs/heads/master'  |       if: github.ref == 'refs/heads/master'  | ||||||
|       with: |       run: |  | ||||||
|         context: . |         docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:latest" . | ||||||
|         push: true |          | ||||||
|         tags: | |          | ||||||
|           frooodle/s-pdf:latest |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user