Skip to content

Commit

Permalink
fix: update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromake committed Apr 21, 2020
1 parent e24f59f commit fa72e77
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ script:

deploy:
provider: releases
api_key:
secure: ${GITHUB_TOKEN}
token: ${GITHUB_TOKEN}
file_glob: true
file: dist/*
skip_cleanup: true
cleanup: false
on:
tags: true
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<a name="0.7.0"></a>
## [0.7.0] - 2020-04-21
### Docs
- update readme

### Feat
- update mod dep
- add support `gdb`

<a name="0.6.3"></a>
## [0.6.3] - 2019-12-15
### Fix
- check container is running
- update change log

<a name="0.6.2"></a>
## [0.6.2] - 2019-06-20
### Doc
Expand Down Expand Up @@ -179,7 +194,9 @@
- ignore add more


[Unreleased]: https://github.com/zeromake/docker-debug/compare/0.6.2...HEAD
[Unreleased]: https://github.com/zeromake/docker-debug/compare/0.7.0...HEAD
[0.7.0]: https://github.com/zeromake/docker-debug/compare/0.6.3...0.7.0
[0.6.3]: https://github.com/zeromake/docker-debug/compare/0.6.2...0.6.3
[0.6.2]: https://github.com/zeromake/docker-debug/compare/0.6.1...0.6.2
[0.6.1]: https://github.com/zeromake/docker-debug/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/zeromake/docker-debug/compare/0.5.2...0.6.0
Expand Down
8 changes: 4 additions & 4 deletions README-zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ brew install docker-debug
**下载二进制文件**
``` shell
# MacOS
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-darwin-amd64
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-darwin-amd64

# Linux
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-linux-amd64
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-linux-amd64

chmod +x ./docker-debug
sudo mv docker-debug /usr/local/bin/

# Windows
curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-windows-amd64.exe
curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-windows-amd64.exe
```

或者到 [release page](https://github.com/zeromake/docker-debug/releases/lastest) 下载最新可执行文件并添加到 PATH。
Expand Down Expand Up @@ -64,7 +64,7 @@ docker-debug 使用 `nicolaka/netshoot` 作为默认镜像来运行额外容器
你可以通过命令行 `flag(--image)` 覆盖默认镜像,或者直接修改配置文件 `~/.docker-debug/config.toml` 中的 `image`
``` toml
# 配置文件版本号
version = "0.6.3"
version = "0.7.0"
# 目标容器文件系统挂载点
mount_dir = "/mnt/container"
# 默认镜像
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ brew install docker-debug
**download binary file**
``` shell
# MacOS
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-darwin-amd64
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-darwin-amd64

# Linux
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-linux-amd64
curl -Lo docker-debug https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-linux-amd64

chmod +x ./docker-debug
sudo mv docker-debug /usr/local/bin/

# Windows
curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.6.3/docker-debug-windows-amd64.exe
curl -Lo docker-debug.exe https://github.com/zeromake/docker-debug/releases/download/0.7.0/docker-debug-windows-amd64.exe
```

download the latest binary from the [release page](https://github.com/zeromake/docker-debug/releases/lastest) and add it to your PATH.
Expand Down Expand Up @@ -64,7 +64,7 @@ mv docker-debug /usr/local/bin
docker-debug uses nicolaka/netshoot as the default image to run debug container.
You can override the default image with cli flag, or even better, with config file ~/.docker-debug/config.toml
``` toml
version = "0.6.3"
version = "0.7.0"
image = "nicolaka/netshoot:latest"
mount_dir = "/mnt/container"
timeout = 10000000000
Expand Down

0 comments on commit fa72e77

Please sign in to comment.