Skip to content

Instantly share code, notes, and snippets.

@kmccarth
Created September 9, 2018 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmccarth/9172934ca98201a57a010674016e6564 to your computer and use it in GitHub Desktop.
Save kmccarth/9172934ca98201a57a010674016e6564 to your computer and use it in GitHub Desktop.
#! bin/bash
docker login;
# ....
docker pull circleci/android:api-27-alpha;
docker images;
# find IMAGE_ID column for the pulled docker hub repository, and copy-and-paste the value (ex, b24d6d30803b)
export IMAGE_ID=b24d6d30803b;
docker tag $IMAGE_ID kmccarth/circleciandroid27alpha;
# docker push kmccarth/circleciandroid27alpha;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment