Skip to content

Commit

Permalink
Push images to open-balena-db as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunckt committed Mar 20, 2018
1 parent 435adf0 commit db3d04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions automation/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit db3d04e

Please sign in to comment.