From 099f8256a22898b96fc8cd60270261feef28f332 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Sat, 17 Apr 2021 04:26:29 +0800 Subject: [PATCH] chor:enable publishing image --- .github/workflows/goreleaser.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 86b3ecc..0c8b361 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -52,4 +52,12 @@ jobs: name: Clear if: always() && startsWith(github.ref, 'refs/tags/v') run: | - rm -f ${HOME}/.docker/config.json \ No newline at end of file + rm -f ${HOME}/.docker/config.json + - + name: Release New Version + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} \ No newline at end of file