Commit 58bc350
authored
Add JFrog OIDC module resolution to release workflow (#1631)
## Changes
The push workflow already resolves Go modules through JFrog via the
`setup-build-environment` composite action, but the release workflow was
still hitting the network directly. This adds the same JFrog setup to
`release.yml`:
- JFrog CLI setup with OIDC authentication
- `jf go mod download` to pull modules through JFrog
- `GOPROXY=file://...` so GoReleaser's native `go build` resolves from
the local cache
Also adds explicit `permissions` (`id-token: write` for OIDC, `contents:
write` for creating releases).
## Tests
- [ ] Trigger a snapshot build (merge queue) and verify GoReleaser
succeeds
- [ ] Verify a tag push still creates the GitHub release correctly
NO_CHANGELOG=true
This pull request was AI-assisted by Isaac.
Signed-off-by: Hector Castejon Diaz <hector.castejon@databricks.com>1 parent 8d0c6e0 commit 58bc350
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
24 | 35 | | |
| |||
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
34 | 56 | | |
35 | 57 | | |
36 | 58 | | |
| |||
0 commit comments