...
Code Block |
---|
#!/bin/bash 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} fi 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.
...