Skip to content

Commit

Permalink
explicit pass
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Jul 8, 2024
1 parent 8d3f847 commit 1febe6c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/src/push.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,16 @@ async function push(repo, release, updateLatest, registry, registryPath, stubReg

const registryName = registry.replace(/\.azurecr\.io.*/, '');
const spawnOpts = { stdio: 'inherit', shell: true };

await asyncUtils.spawn('az', [
'acr',
'login',
'--name',
registryName
registryName,
'--username',
'$TOKEN_NAME',
'--password',
'$PASSWORD'
], spawnOpts);

console.log(`**** Pushing ${currentJob['id']}: ${currentJob['variant']} ${release} ****`);
Expand Down

0 comments on commit 1febe6c

Please sign in to comment.