You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			303 B
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			17 lines
		
	
	
		
			303 B
		
	
	
	
		
			Bash
		
	
| #!/usr/bin/env bash
 | |
| 
 | |
| . $(dirname $0)/util
 | |
| set -eu
 | |
| 
 | |
| output=$(mktemp -d -t buildx-output.XXXXXXXXXX)
 | |
| 
 | |
| buildxCmd build \
 | |
|   --target "update" \
 | |
|   --output "type=local,dest=$output" \
 | |
|   --file "./hack/dockerfiles/docs.Dockerfile" \
 | |
|   .
 | |
| 
 | |
| rm -rf ./docs/reference/*
 | |
| cp -R "$output"/out/* ./docs/
 | |
| rm -rf $output
 |