Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Mar 24, 2021
1 parent f676d25 commit 1618440
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ builds:
- windows
goarch:
- amd64
- arm64
- "386"
goarm:
- "6"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ go build && ./gohttpserver

Or download binaries from [github releases](https://github.com/codeskyblue/gohttpserver/releases)

If you are using Mac, simply run command

```bash
brew install codeskyblue/tap/gohttpserver
```

## Usage
Listen on port 8000 of all interfaces, and enable file uploading.

Expand Down
10 changes: 7 additions & 3 deletions docker/push_manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ fi

set -ex

sed -i '/experimental/d' $HOME/.docker/config.json
sed -i '1a"experimental": "enabled",' $HOME/.docker/config.json
if test $(uname) = "Linux"
then
sed -i '/experimental/d' $HOME/.docker/config.json
sed -i '1a"experimental": "enabled",' $HOME/.docker/config.json
fi

docker manifest create codeskyblue/gohttpserver \
codeskyblue/gohttpserver:latest \
codeskyblue/gohttpserver:armhf
Expand All @@ -21,4 +25,4 @@ docker manifest annotate codeskyblue/gohttpserver \
docker manifest push codeskyblue/gohttpserver

# check again
docker run mplatform/mquery codeskyblue/gohttpserver
docker run mplatform/mquery codeskyblue/gohttpserver

0 comments on commit 1618440

Please sign in to comment.