Compare commits
	
		
			6 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e2e7967fba | |||
| 45b8d67abf | |||
| 0a69aa5d62 | |||
| dfbab1a1df | |||
| e58f009a24 | |||
| 2afd9cddc5 | 
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "@shipzone/npmci", | ||||
|   "version": "4.1.11", | ||||
|   "version": "4.1.14", | ||||
|   "private": false, | ||||
|   "description": "node and docker in gitlab ci on steroids", | ||||
|   "main": "dist_ts/index.js", | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@shipzone/npmci', | ||||
|   version: '4.1.11', | ||||
|   version: '4.1.14', | ||||
|   description: 'node and docker in gitlab ci on steroids' | ||||
| } | ||||
|   | ||||
| @@ -26,7 +26,7 @@ export class DockerRegistry { | ||||
|       process.exit(1); | ||||
|       return; | ||||
|     } | ||||
|     const registryUrl = dockerRegexResultArray[0]; | ||||
|     const registryUrl = dockerRegexResultArray[0].replace('https://', '').replace('http://', ''); | ||||
|     const username = dockerRegexResultArray[1]; | ||||
|     const password = dockerRegexResultArray[2]; | ||||
|     return new DockerRegistry({ | ||||
|   | ||||
| @@ -9,7 +9,12 @@ export class NpmciEnv { | ||||
|  | ||||
|   constructor(npmciRefArg: Npmci) { | ||||
|     this.npmciRef = npmciRefArg; | ||||
|     if (process.env.GITLAB_CI) { | ||||
|       this.repoString = process.env.CI_REPOSITORY_URL; | ||||
|     } | ||||
|     if (process.env.NPMCI_COMPUTED_REPOURL) { | ||||
|       this.repoString = process.env.NPMCI_COMPUTED_REPOURL; | ||||
|     } | ||||
|     if (!this.repoString) { | ||||
|       this.repoString = 'https://undefined:undefined@github.com/undefined/undefined.git'; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user