mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 13:57:52 +08:00
build: harden docker-image.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
c8a4b6ae00
commit
2d00514e22
3
.github/workflows/docker-image.yml
vendored
3
.github/workflows/docker-image.yml
vendored
@ -9,6 +9,9 @@ on:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user