Skip to content

Commit

Permalink
Update PUSH.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xwang2713 committed Oct 4, 2019
1 parent f0f58f5 commit 19c2c50
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions PUSH.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ sudo docker build -t <platform|clienttools>:<tag> --build-arg version=<version>
```

```console
sudo docker tag <platform|clienttools>:<tag> <Docker Image Registry Repository>:<tag>
#sudo docker tag <platform|clienttools>:<tag> <Docker Image Registry Repository>:<tag>
#for example,
sudo docker tag hpccsystems/platform:7.4.24-1 446598291512.dkr.ecr.us-east-2.amazonaws.com/hpccsystems/platform:7.4.24-1
```

### Push
Expand Down Expand Up @@ -52,11 +54,13 @@ ECR is regional service not global service. Pulling images cross regions is poss

### Login
```console
$(aws ecr get-login --no-include-email --region us-east-2)
sudo $(aws ecr get-login --no-include-email --region us-east-2)

```

### Push
```console
docker push <aws account id>.dkr.ecr.us-east-2.amazonaws.com/hpcc-systems-platform:<tag>
#sudo docker push <aws account id>.dkr.ecr.us-east-2.amazonaws.com/hpcc-systems-platform:<tag>
#for example,
sudo docker push 446598291512.dkr.ecr.us-east-2.amazonaws.com/hpccsystems/platform:7.4.24-1
```

0 comments on commit 19c2c50

Please sign in to comment.