Commit 1d70658
committed
ci: drop fork guard on ghcr ORAS pull -- prevented nightly on forks
build-wolfprovider.yml gated its `Login to ghcr.io` and
`Download pre-built packages from ghcr.io` steps on
`github.repository == 'wolfSSL/wolfProvider'`. On a fork run
(aidangarske/wolfProvider firing nightly-osp.yml), that condition
is false, so the .deb pull was silently skipped, the package
directories stayed empty, `dpkg -i .../*.deb` was a no-op, and
wolfprov's configure failed with "could not locate wolfSSL".
The published .debs (ghcr.io/wolfssl/wolfprovider/debs:*) are
public, so anonymous pulls work regardless of which repo's CI
is running. Drop the fork guard. Login is best-effort
(continue-on-error: true) -- it helps rate limits when a token is
available, but anonymous pulls keep working for forks without
write-scope tokens against wolfssl's namespace.
Also use github.actor for the login username instead of
github.repository_owner so the token's actual user is used
(matters on fork runs where repository_owner is the fork owner,
not the actor).1 parent f1fbf99 commit 1d70658
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | | - | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | | - | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
201 | | - | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
0 commit comments