chore: Try using CI_REGISTRY_USER for docker login
This commit is contained in:
		
							parent
							
								
									d884932670
								
							
						
					
					
						commit
						4325667d36
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -21,8 +21,8 @@ build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  image: "docker"
 | 
					  image: "docker"
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY
 | 
					    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
 | 
				
			||||||
    - docker build --pull -t registry.gitlab.com/mythic-insight/legendary/legendary .
 | 
					    - docker build --pull -t $CI_REGISTRY_IMAGE .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test:
 | 
					test:
 | 
				
			||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue