mirror of
				https://github.com/vdsm/virtual-dsm.git
				synced 2025-11-04 17:04:52 +08:00 
			
		
		
		
	build: Bash
build: Bash
This commit is contained in:
		
						commit
						21699b8960
					
				
							
								
								
									
										9
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -34,7 +34,7 @@ jobs:
 | 
			
		||||
        name: Checkout
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0    
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - 
 | 
			
		||||
        name: Set up Docker Buildx
 | 
			
		||||
        uses: docker/setup-buildx-action@v3
 | 
			
		||||
@ -54,8 +54,9 @@ jobs:
 | 
			
		||||
      - 
 | 
			
		||||
        name: Build Docker image
 | 
			
		||||
        id: build
 | 
			
		||||
        run: |
 | 
			
		||||
 | 
			
		||||
        run: |        
 | 
			
		||||
          #!/bin/bash
 | 
			
		||||
          
 | 
			
		||||
          DIRECTORY="."
 | 
			
		||||
          PLATFORMS="linux/amd64,linux/arm64"
 | 
			
		||||
          VERSION="${{ vars.MAJOR }}.${{ vars.MINOR }}"
 | 
			
		||||
@ -77,7 +78,7 @@ jobs:
 | 
			
		||||
          LABELS+=("org.opencontainers.image.version=${VERSION}")
 | 
			
		||||
          LABELS+=("org.opencontainers.image.created=${BUILD_DATE}")
 | 
			
		||||
          LABELS+=("org.opencontainers.image.revision=${GITHUB_RUN_ID}")
 | 
			
		||||
          LABELS+=("org.opencontainers.image.url=https://hub.docker.com/r/${{ secrets.DOCKERHUB_REPO }}")
 | 
			
		||||
          LABELS+=("org.opencontainers.image.url=https://hub.docker.com/r/${{ github.repository }}")
 | 
			
		||||
          LABELS+=("org.opencontainers.image.source=https://github.com/${{ github.repository }}")
 | 
			
		||||
          
 | 
			
		||||
          docker buildx build --progress=plain \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user