mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 09:57:18 +08:00 
			
		
		
		
	Allow use of this action in non-linux platforms with warning (fixes #47)
This commit is contained in:
		
							parent
							
								
									4b206288bd
								
							
						
					
					
						commit
						fa97036308
					
				| @ -7,7 +7,7 @@ import * as stateHelper from './state-helper'; | ||||
| export async function run(): Promise<void> { | ||||
|   try { | ||||
|     if (os.platform() !== 'linux') { | ||||
|       throw new Error('Only supported on linux platform'); | ||||
|       core.warning('This action is intented for linux platform. You may experience problems.'); | ||||
|     } | ||||
| 
 | ||||
|     const {registry, username, password, logout} = getInputs(); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 The Hatsune Daishi
						The Hatsune Daishi