File: build.sh

package info (click to toggle)
azure-uamqp-python 1.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,584 kB
  • sloc: ansic: 184,383; cpp: 7,738; python: 7,733; cs: 5,767; sh: 983; xml: 298; makefile: 34
file content (8 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/sh
[ -z "$TAG" ] && echo "Must set \$TAG to a value (e.g. '3.8')" && exit 1

az acr login --subscription "Azure SDK Engineering System" --name azuresdkimages || exit 1
az acr build --subscription "Azure SDK Engineering System" -r azuresdkimages -t azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG .
docker pull azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG
docker tag azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG azuresdkimages.azurecr.io/manylinux2010_crypto_x64:latest
docker push azuresdkimages.azurecr.io/manylinux2010_crypto_x64:latest