diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be856db4..25a97407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,32 +7,32 @@ on: - v* # manually trigger the release workflow_dispatch: + jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: percona-platform/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Set up Go - uses: percona-platform/setup-go@v2 + + - name: Set up Go + uses: actions/setup-go@v4 with: - go-version: 1.19 - - - name: Login to GitHub Container Registry - uses: percona-platform/login-action@v1 + go-version-file: ${{ github.workspace }}/go.mod + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Run GoReleaser - uses: percona-platform/goreleaser-action@v2 + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}