From 0d4f4cc50fe6ccda974610f3f5ee3d82b254b102 Mon Sep 17 00:00:00 2001 From: Mathias Beaulieu-Duncan Date: Mon, 9 Feb 2026 18:03:12 -0500 Subject: [PATCH] Use org-level REGISTRY_USERNAME/REGISTRY_PASSWORD secrets Replace DOCKERHUB_USERNAME/DOCKERHUB_TOKEN with the existing org-level secrets. Use automatic GITHUB_TOKEN for Gitea release creation. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/build.yaml | 6 +++--- README.md | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 674ea78..149359e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,8 +29,8 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} - name: Extract version tag id: version @@ -96,7 +96,7 @@ jobs: release-dir: . release-notes-assistant: none env: - GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Clean up if: always() diff --git a/README.md b/README.md index 553f6ff..89da9e9 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,8 @@ A weekly scheduled workflow checks for new Talos and RPi kernel releases and cre | Secret | Description | |--------|-------------| -| `DOCKERHUB_USERNAME` | Docker Hub username | -| `DOCKERHUB_TOKEN` | Docker Hub access token | -| `GITEA_TOKEN` | Gitea API token (for creating releases and issues) | +| `REGISTRY_USERNAME` | Docker Hub username (org-level) | +| `REGISTRY_PASSWORD` | Docker Hub access token (org-level) | ## Runner Setup (ASUS GX10)