Skip to content

Commit

Permalink
ci: docker镜像构建
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Jul 4, 2024
1 parent fd803a5 commit ee3a17c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
REPOSITORY: ${{ github.repository }}

jobs:
deploy:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,11 +23,7 @@ jobs:
go-version: '1.22'

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
install-mode: goinstall
args: --timeout=30m
uses: golangci/golangci-lint-action@v6

- name: Tests
run: |
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,20 @@ docker-compose up -d

### 从源代码

从源代码构建需要预先准备好以下环境:

- go 1.22+
- node 20+
- yarn

```bash
git clone https://github.com/CodFrm/dns-kit.git
cd dns-kit
make build
# 创建配置文件
cp ./configs/config.example.yaml ./configs/config.yaml
# 启动, 默认端口为5174, 版本号根据实际情况修改
./bin/dns-kit_v1.0.0
```


0 comments on commit ee3a17c

Please sign in to comment.