oras push localhost:5000/hello-artifact:v2 \
--manifest-config config.json:application/vnd.acme.rocket.config.v1+json \
artifact.txt:application/vnd.acme.rocket.config.v1+json \
readme.md:application/vnd.acme.rocket.docs.layer.v1+json
$Env:REGISTRY_NAME="demo42.azurecr.io"
docker build -t $Env:REGISTRY_NAME/baseimages/microsoft/dotnet/sdk:linux-2.1 .
docker push $Env:REGISTRY_NAME/baseimages/microsoft/dotnet/sdk:linux-2.1
REGISTRY_NAME=demo42.azurecr.io
docker build -t ${REGISTRY_NAME} baseimages/microsoft/dotnet/sdk:linux-2.1 .
build/push with ACR Build
az acr build -t baseimages/microsoft/dotnet/sdk:linux-2.1 .
az acr task create \
-n baseimage-dotnet-sdk \
--context https://github.com/demo42/baseimage-dotnet-sdk.git \
-t baseimages/microsoft/dotnet/sdk:2.1 \
-f Dockerfile \
--git-access-token $( az keyvault secret show \
--vault-name $AKV_NAME \
--name $GIT_TOKEN_NAME \
--query value -o tsv) \
--registry $ACR_NAME
Manually trigger the task, as triggers are intentionally disabled
az acr task run -n baseimage-dotnet-sdk