mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-18 18:53:18 +02:00
fix: Github actions not having permissions
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -35,6 +35,9 @@ jobs:
|
||||
push:
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
# needs: test
|
||||
# if: github.ref == 'refs/heads/main'
|
||||
|
||||
@@ -45,7 +48,7 @@ jobs:
|
||||
- name: 'Login to GitHub Container Registry'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
registry: ${{env.REGISTRY}}
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user