diff --git a/.github/workflows/create-pre-release.yml b/.github/workflows/create-pre-release.yml index e8754bf8..0127837c 100644 --- a/.github/workflows/create-pre-release.yml +++ b/.github/workflows/create-pre-release.yml @@ -26,11 +26,15 @@ on: - rc - snapshot required: false - + env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} +permissions: + contents: write + packages: write + jobs: build: if: ${{ github.actor != 'dependabot'}} @@ -48,7 +52,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry - uses: docker/login-action@v3 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -71,7 +75,7 @@ jobs: sleep 10 curl http://localhost:3000 - run: echo "${{ github.ref }}" - - name: Tag a final release + - name: Tag a final release id: prerelease uses: actionsdesk/semver@0.6.0-rc.10 with: