Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sigridjineth committed Nov 22, 2022
1 parent 73806a8 commit 8af6ab7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ sudo docker pull 175045290745.dkr.ecr.ap-northeast-2.amazonaws.com/deliverble-re
sudo docker run -itd -p 8020:8020 -p 8000:8000 175045290745.dkr.ecr.ap-northeast-2.amazonaws.com/deliverble-recording-microservice:latest
```

## Push to GitHub Packages
```
export CR_PAT=${GITHUB_TOKENS}
```
```
echo $CR_PAT | docker login ghcr.io -u DeliverBle --password-stdin
```
```
docker tag deliverble-recording-microservice:latest ghcr.io/deliverble/deliverble-recording-microservice:latest
```
```
docker push ghcr.io/deliverble/deliverble-recording-microservice:latest
```

## Heads up!
* If you are looking to resolve ECR push EOF error, see [here](https://stackoverflow.com/questions/70452836/docker-push-to-aws-ecr-hangs-immediately-and-times-out)
* If Dockerfile cannot find your Go app in working directory, see [here](https://www.reddit.com/r/golang/comments/hr3895/cant_load_package_package_no_go_files_in_app_when/)

0 comments on commit 8af6ab7

Please sign in to comment.