ci(docker): rotate Docker Hub auth secrets for token-based publishing (#1179)
This commit is contained in:
@@ -102,8 +102,8 @@ jobs:
|
|||||||
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
|
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
|
||||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Authenticate to GitHub Container Registry
|
- name: Authenticate to GitHub Container Registry
|
||||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ jobs:
|
|||||||
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
|
if: ${{ vars.DOCKERHUB_REGISTRY != '' }}
|
||||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Authenticate to GitHub Container Registry
|
- name: Authenticate to GitHub Container Registry
|
||||||
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Before cutting a stable release, make sure:
|
|||||||
- The commits that should be released are already on `main`.
|
- The commits that should be released are already on `main`.
|
||||||
- Those commits follow conventional commit semantics.
|
- Those commits follow conventional commit semantics.
|
||||||
- `RELEASE_BOT_TOKEN` is configured if branch protection requires more than the default `github.token`.
|
- `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
|
## What Triggers a Stable Release
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user