build: Fix mixed up destination / credentials
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		| @@ -66,12 +66,12 @@ steps: | ||||
|     wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -O /bin/jq | ||||
|     chmod +x /bin/jq | ||||
|   - | | ||||
|     /bin/jq '.auths["https://bv11-cr01.bessems.eu/v2"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json | ||||
|     /bin/jq '.auths["https://index.docker.io/v1/"].auth="'"$(echo $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json | ||||
|   - | | ||||
|     /kaniko/executor \ | ||||
|       --dockerfile=Dockerfile \ | ||||
|       --context=dir://. \ | ||||
|       --destination=bv11-cr01.bessems.eu/library/json-server:latest | ||||
|       --destination=index.docker.io/djpbessems/json-server:latest | ||||
|   environment: | ||||
|     DOCKER_USERNAME: | ||||
|       from_secret: docker_username | ||||
|   | ||||
		Reference in New Issue
	
	Block a user