Modify permissions in cicd.yaml
Updated permissions for the CI/CD workflow.
This commit is contained in:
@@ -17,16 +17,15 @@ on:
|
|||||||
- "true"
|
- "true"
|
||||||
- "false"
|
- "false"
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKERHUB_REPO: swarupsengupta2007/psiphon
|
DOCKERHUB_REPO: swarupsengupta2007/psiphon
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user