From 19a1b78c4e226d380e0e43c5fd51054d908a2d4e Mon Sep 17 00:00:00 2001 From: Christoph Barbian Date: Fri, 27 Dec 2024 18:15:28 +0100 Subject: [PATCH] update workflows --- .github/workflows/publish.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7a0b900..e524466 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,6 +18,21 @@ defaults: shell: bash jobs: + publish-go-module: + name: Publish go module + runs-on: ubuntu-24.04 + + steps: + - name: Trigger registration on sum.golang.org + run: | + repository=${{ github.repository }} + tag=${{ github.event.release.tag_name }} + curl -sSf \ + --max-time 30 \ + --retry 5 \ + --retry-max-time 300 \ + https://sum.golang.org/lookup/github.com/${repository,,}@${tag} + publish-docker: name: Publish Docker image runs-on: ubuntu-24.04