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:
Jef LeCompte
2021-04-13 09:07:09 -04:00
committed by sentriz
parent e6b76915da
commit c2c7eb249f
5 changed files with 77 additions and 25 deletions

View File

@@ -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 ./...