Skip to content

Commit

Permalink
chore: change docker repository adddres to new aws account
Browse files Browse the repository at this point in the history
  • Loading branch information
obiyankenobi committed Mar 28, 2019
1 parent 39af996 commit 50084a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
create_docker_image () {
tag="$1"
echo 'building docker image'
docker build -t cpuminer:"$tag" "$DIR"
docker build -t boxster:"$tag" "$DIR"
}

# receive tag as argument
push_image () {
echo 'Pushing image to repository'
tag="$1"
docker tag cpuminer:"$tag" 769498303037.dkr.ecr.us-east-1.amazonaws.com/cpuminer:"$tag"
docker push 769498303037.dkr.ecr.us-east-1.amazonaws.com/cpuminer:"$tag"
docker tag boxster:"$tag" 537254410709.dkr.ecr.us-east-1.amazonaws.com/boxster:"$tag"
docker push 537254410709.dkr.ecr.us-east-1.amazonaws.com/boxster:"$tag"
}

# Initialize all the option variables.
Expand Down

0 comments on commit 50084a7

Please sign in to comment.