Creating Access Tokens for Pushing Packages to Gitea
Last modified by DevOps-as-a-Service Operator on 2025/02/05 11:33
This essential guide is designed to generate access tokens necessary for pushing packages to Gitea.
- Login to Gitea using your personal account, as described in Gitea. If you want to create a token for a Gitea Technical User instead, use an anonymous browser window and login to Gitea with the credentials of the Gitea Technical User.
- Navigate to the settings in the Gitea profile of the user in the top right corner of the screen:
- Find the "Applications" section and select "Generate New Token". Name the token and ensure you select the Read and Write options for package management.
- Upon generation, copy the token immediately, as it won't be displayed again. This token is essential for pushing NPM packages to Gitea: