diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 310e3b8..73460b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,21 @@ jobs: mkdir -p bin/ go test -v ./... + release_nightly: + runs-on: ubuntu-latest + needs: test + steps: + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - + name: Run docker_nightly + run: make docker_nightly + release: runs-on: ubuntu-latest needs: test @@ -72,3 +87,4 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/Makefile b/Makefile index b8c52a7..28bbea2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build install test docker_test docker_build docker_push +.PHONY: build install test docker_test docker_build docker_push docker_nightly build: mkdir -p bin/