feat(ci): use ghcr and auto release
- Pushes images to GitHub Container Registry (GHCR) to deprecate Docker Hub - Auto releases for nightly - Auto releases for new release
This commit is contained in:
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
@@ -23,5 +23,10 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.33
|
||||
- name: Update version.go
|
||||
run: |
|
||||
_version=v$(cat version.txt)
|
||||
sed -Ei "s/VERSION = \"v0.0.0\"/VERSION = \"${_version}-nightly\"/g" version/version.go
|
||||
./_do_gen_handler_tests
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
|
||||
Reference in New Issue
Block a user