granular perms / docker-push
ref: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#authenticating-to-package-registries-with-repository-scoped-permissions
This commit is contained in:
3
.github/workflows/copycat-db-release.yml
vendored
3
.github/workflows/copycat-db-release.yml
vendored
@@ -3,6 +3,9 @@ name: "Release (copycat-db)"
|
||||
on:
|
||||
workflow_dispatch: # Run manually
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/server-publish-ghcr.yml
vendored
4
.github/workflows/server-publish-ghcr.yml
vendored
@@ -7,6 +7,10 @@ on:
|
||||
# Run manually if needed to publish out of schedule.
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
3
.github/workflows/server-release.yml
vendored
3
.github/workflows/server-release.yml
vendored
@@ -3,6 +3,9 @@ name: "Release (server)"
|
||||
on:
|
||||
workflow_dispatch: # Run manually
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/web-publish-ghcr.yml
vendored
4
.github/workflows/web-publish-ghcr.yml
vendored
@@ -7,6 +7,10 @@ on:
|
||||
# Run manually if needed to publish out of schedule.
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user