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 13, 2018
1 parent 435adf0 commit 468d279
Showing 1 changed file with 8 additions and 0 deletions.
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 468d279

Please sign in to comment.