diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35afa20..c520dc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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}}