Skip to content

Commit 57b7bc9

Browse files
committed
update workflows
1 parent f381947 commit 57b7bc9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/publish.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ defaults:
1818
shell: bash
1919

2020
jobs:
21+
publish-go-module:
22+
name: Publish go module
23+
runs-on: ubuntu-24.04
24+
25+
steps:
26+
- name: Trigger registration on sum.golang.org
27+
run: |
28+
repository=${{ github.repository }}
29+
tag=${{ github.event.release.tag_name }}
30+
curl -sSf \
31+
--max-time 30 \
32+
--retry 5 \
33+
--retry-max-time 300 \
34+
https://sum.golang.org/lookup/github.com/${repository,,}@${tag}
35+
2136
publish-docker:
2237
name: Publish Docker image
2338
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)