Skip to content

Commit

Permalink
Adds build and push convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Feb 14, 2022
1 parent 7e8fff6 commit 50119e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
REPO=${2:-uselagoon}
TAG=${1:-latest}
IMGNAME=${3:-insights-remote}
echo "Creating image for $REPO/${IMGNAME}:$TAG and pushing to docker hub"
make IMG=$REPO/${IMGNAME}:$TAG docker-build && make IMG=$REPO/${IMGNAME}:$TAG docker-push

0 comments on commit 50119e8

Please sign in to comment.