mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-06-19 21:10:23 +02:00
Resolve reviews
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
bd321d175b
commit
27bd24ab9a
4 changed files with 8 additions and 8 deletions
|
@ -54,7 +54,7 @@ async function run(): Promise<void> {
|
|||
const tlsVerify = core.getInput(Inputs.TLS_VERIFY);
|
||||
const digestFileInput = core.getInput(Inputs.DIGESTFILE);
|
||||
|
||||
const inputExtraArgsStr = core.getInput("extra-args");
|
||||
const inputExtraArgsStr = core.getInput(Inputs.EXTRA_ARGS);
|
||||
let podmanExtraArgs: string[] = [];
|
||||
if (inputExtraArgsStr) {
|
||||
// transform the array of lines into an array of arguments
|
||||
|
@ -160,10 +160,10 @@ async function run(): Promise<void> {
|
|||
|
||||
let creds = "";
|
||||
if (username && !password) {
|
||||
core.warning("Username is provided, but password is missing!");
|
||||
core.warning("Username is provided, but password is missing");
|
||||
}
|
||||
else if (!username && password) {
|
||||
core.warning("Password is provided, but username is missing!");
|
||||
core.warning("Password is provided, but username is missing");
|
||||
}
|
||||
else if (username && password) {
|
||||
creds = `${username}:${password}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue