[ci] Get REGISTRY from vars, not secrets
This patch sources the REGISTRY env var from GitHub actions variables instead of secrets, so pull requests from forked repos work correctly. ```release-note [ci] Source the REGISTRY env var from actions' variables, not secrets, so external pull requests can work. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
This commit is contained in:
parent
87b2316194
commit
07384c3605
1 changed files with 1 additions and 1 deletions
2
.github/workflows/pull-requests.yaml
vendored
2
.github/workflows/pull-requests.yaml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Pull Request
|
||||
|
||||
env:
|
||||
REGISTRY: ${{ secrets.OCIR_REPO }}
|
||||
REGISTRY: ${{ vars.OCIR_REPO }}
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue