A .NET global tool for producing and publishing OCI images
dotnet tool install --global dotnet-container --version 0.1.0-buildyyyymmdd.xx --add-source https://www.myget.org/F/shirhatti-tools/api/v3/index.json
Do NOT commit the file containing the Service Principal into source control.
Modify the script in scripts/generate-sp.sh
and replace ACR_NAME
with the name of your registry.
Generate a Service Principal (SP) by running the following command:
./scripts/generate-sp.sh > sp.azureauth
If you do not have the az
cli installed locally, I recommend using the Azure Cloud Shell.