Skip to content

Commit af308ca

Browse files
committed
update workflows
1 parent f6c288f commit af308ca

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
@@ -17,6 +17,21 @@ defaults:
1717
shell: bash
1818

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

0 commit comments

Comments
 (0)