Skip to content

Conversation

Ompragash
Copy link
Member

Implements Azure Container Registry (ACR) authentication using service principal credentials. This change:

  • Adds support for both client secret and certificate-based authentication
  • Handles OAuth token exchange for ACR authentication
  • Includes public URL support for artifacts
  • Maintains backward compatibility with direct username/password authentication

Test Execution LINK

}

const (
acrCertPath = "/tmp/acr-cert.pem"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work for Windows?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! I'll change it to use os.TempDir() to keep it more generic and cross platform

@Ompragash Ompragash merged commit 78fc38d into master Mar 26, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants