mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-06-08 01:49:03 +00:00
Add feature to pass extra args when pushing image (#19)
If a user wants to pass few extra args to push command when pushing image, then they can pass using 'extra-args' input parameter. Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
e7b5c08b38
commit
870f44bc9b
7 changed files with 41 additions and 3 deletions
8
src/util.ts
Normal file
8
src/util.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
/***************************************************************************************************
|
||||
* Copyright (c) Red Hat, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE file in the project root for license information.
|
||||
**************************************************************************************************/
|
||||
|
||||
export function splitByNewline(s: string): string[] {
|
||||
return s.split(/\r?\n/);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue