in azurecontainerapps.ts [386:395]
private static async authenticateContainerRegistryAsync() {
this.registryUsername = this.toolHelper.getInput('registryUsername', false);
this.registryPassword = this.toolHelper.getInput('registryPassword', false);
// Login to Container Registry if credentials were provided
if (!this.util.isNullOrEmpty(this.registryUsername) && !this.util.isNullOrEmpty(this.registryPassword)) {
this.toolHelper.writeInfo(`Logging in to Container Registry "${this.registryUrl}" with username and password credentials`);
await this.registryHelper.loginContainerRegistryWithUsernamePassword(this.registryUrl, this.registryUsername, this.registryPassword);
}
}