diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 37b3805f0..f3249af3d 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -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 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 3d8c6ee7b..9a09a576c 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -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 diff --git a/docs/MAKING-A-RELEASE.md b/docs/MAKING-A-RELEASE.md index 36fe6d0f8..6ec7d6fc6 100644 --- a/docs/MAKING-A-RELEASE.md +++ b/docs/MAKING-A-RELEASE.md @@ -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