mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							46 lines
						
					
					
						
							960 B
						
					
					
				
			
		
		
	
	
							46 lines
						
					
					
						
							960 B
						
					
					
				name: Build Docker Images
 | 
						|
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    tags:
 | 
						|
      - "*.*.*"
 | 
						|
 | 
						|
jobs:
 | 
						|
  build:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
 | 
						|
    steps:
 | 
						|
    - name: Checkout code
 | 
						|
      uses: actions/checkout@v3
 | 
						|
      with:
 | 
						|
        submodules: recursive
 | 
						|
 | 
						|
    -
 | 
						|
      name: Docker meta
 | 
						|
      id: meta
 | 
						|
      uses: docker/metadata-action@v4
 | 
						|
      with:
 | 
						|
        images: |
 | 
						|
                    docuseal/docuseal
 | 
						|
        tags: |
 | 
						|
                    type=semver,pattern={{version}}
 | 
						|
    - name: Set up QEMU
 | 
						|
      uses: docker/setup-qemu-action@v2
 | 
						|
 | 
						|
    - name: Set up Docker Buildx
 | 
						|
      uses: docker/setup-buildx-action@v2
 | 
						|
 | 
						|
    - name: Login to Docker Hub
 | 
						|
      uses: docker/login-action@v2
 | 
						|
      with:
 | 
						|
        username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
						|
        password: ${{ secrets.DOCKERHUB_TOKEN }}
 | 
						|
 | 
						|
    - name: Build and push Docker image
 | 
						|
      uses: docker/build-push-action@v4
 | 
						|
      with:
 | 
						|
        context: .
 | 
						|
        push: true
 | 
						|
        platforms: linux/amd64,linux/arm64
 | 
						|
        tags: ${{ steps.meta.outputs.tags }}
 |