ci(docker): rotate Docker Hub auth secrets for token-based publishing (#1179)

This commit is contained in:
Zach
2026-05-07 03:08:21 -04:00
committed by GitHub
parent a47e35a54e
commit 7e558250fd
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -102,8 +102,8 @@ jobs:
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Authenticate to GitHub Container Registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
+2 -2
View File
@@ -33,8 +33,8 @@ jobs:
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Authenticate to GitHub Container Registry
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
+1 -1
View File
@@ -24,7 +24,7 @@ Before cutting a stable release, make sure:
- The commits that should be released are already on `main`.
- Those commits follow conventional commit semantics.
- `RELEASE_BOT_TOKEN` is configured if branch protection requires more than the default `github.token`.
- `DOCKER_USERNAME` and `DOCKER_PASSWORD` are configured for Docker Hub publishing.
- If `DOCKERHUB_REGISTRY` is set, `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` are configured for Docker Hub publishing.
## What Triggers a Stable Release