From 38b81861d048efa824adf698335915626497bde1 Mon Sep 17 00:00:00 2001 From: Christoph Barbian Date: Mon, 30 Dec 2024 20:09:42 +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