Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block

echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USERNAME --password-stdin

if [ ! -z "${TRAVIS_TAG}" ]; then
    docker tag edxops/MY_REPO:latest edxops/MY_REPO:${TRAVIS_TAG}
	docker push edxops/MY_REPO:${TRAVIS_TAG}

docker push edxops/MY_REPO:latest

Login to docker hub with your regular account and add your docker image repo to the automation group in the appropriate org (either edxops or openedx)

Login to docker hub ad the edxbuilder user and create a new API key for your repo and encrypt it as follows.