mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-20 16:50:15 +00:00
balena deploy: Fix "access denied" pushing images to registry
Change-type: patch
This commit is contained in:
@ -588,9 +588,7 @@ async function getTokenForPreviousRepos(
|
||||
const { authorizePush, getPreviousRepos } = await import('./compose');
|
||||
const sdk = getBalenaSdk();
|
||||
const previousRepos = await getPreviousRepos(sdk, docker, logger, appId);
|
||||
if (!previousRepos || previousRepos.length === 0) {
|
||||
return '';
|
||||
}
|
||||
|
||||
const token = await authorizePush(
|
||||
sdk,
|
||||
apiEndpoint,
|
||||
|
Reference in New Issue
Block a user