diff --git a/.circleci/config.yml b/.circleci/config.yml index 26dde92..f0b57a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,6 @@ jobs: - run: name: Setup command: | - docker info docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" apk add --no-cache git - run: diff --git a/automation/build.sh b/automation/build.sh index 255c45b..97f0ce5 100755 --- a/automation/build.sh +++ b/automation/build.sh @@ -21,3 +21,11 @@ docker tag ${IMAGE_NAME}:${REVISION} ${IMAGE_NAME}:${VERSION} docker push ${IMAGE_NAME}:${REVISION} docker push ${IMAGE_NAME}:${BRANCH} docker push ${IMAGE_NAME}:${VERSION} + +# Push the images to open-balena-db repo +docker tag ${IMAGE_NAME}:${REVISION} resin/open-balena-db:${REVISION} +docker tag ${IMAGE_NAME}:${REVISION} resin/open-balena-db:${BRANCH} +docker tag ${IMAGE_NAME}:${REVISION} resin/open-balena-db:${VERSION} +docker push resin/open-balena-db:${REVISION} +docker push resin/open-balena-db:${BRANCH} +docker push resin/open-balena-db:${VERSION}