Skip to content

Instantly share code, notes, and snippets.

@sajayantony
Last active January 9, 2019 20:41
Show Gist options
  • Save sajayantony/67a0f7cf073e6b3c668a000d636e0494 to your computer and use it in GitHub Desktop.
Save sajayantony/67a0f7cf073e6b3c668a000d636e0494 to your computer and use it in GitHub Desktop.
#!/bin/sh
docker pull hello-world:latest
export REPO=myregistry.azurecr.io/hello-world
docker tag hello-world:latest $REPO:latest
docker push $REPO:latest
for i in `seq 1 200`; do
docker tag hello-world:latest $REPO:$i
docker push $REPO:$i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment