fix: Use manual docker login
This commit is contained in:
		
							parent
							
								
									9753bd1670
								
							
						
					
					
						commit
						f815fd1922
					
				
					 2 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -35,8 +35,6 @@ deploy:
 | 
			
		|||
  stage: deploy
 | 
			
		||||
  image: "circleci/node:14.5"
 | 
			
		||||
  script:
 | 
			
		||||
    - echo $CI_REGISTRY
 | 
			
		||||
    - export DOCKER_USERNAME=$CI_REGISTRY_USER
 | 
			
		||||
    - export DOCKER_PASSWORD=$CI_REGISTRY_PASSWORD
 | 
			
		||||
    - npm install
 | 
			
		||||
    - docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY
 | 
			
		||||
    - npx semantic-release
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,11 +25,7 @@
 | 
			
		|||
  "release": {
 | 
			
		||||
    "plugins": [
 | 
			
		||||
      "@semantic-release/commit-analyzer",
 | 
			
		||||
      "@semantic-release/git",
 | 
			
		||||
      {
 | 
			
		||||
        "path": "semantic-release-docker",
 | 
			
		||||
        "registryUrl": "https://registry.gitlab.com"
 | 
			
		||||
      }
 | 
			
		||||
      "@semantic-release/git"
 | 
			
		||||
    ],
 | 
			
		||||
    "publish": [
 | 
			
		||||
      {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue