Recommend DockerHub PAT

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-09-10 18:31:33 +02:00
parent afed83d63e
commit 893097890f
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -34,6 +34,9 @@ ___
### DockerHub ### DockerHub
To authenticate against [DockerHub](https://hub.docker.com) it's strongly recommended to create a
[personal access token](https://docs.docker.com/docker-hub/access-tokens/) as an alternative to your password.
```yaml ```yaml
name: ci name: ci
@ -50,7 +53,7 @@ jobs:
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_TOKEN }}
``` ```
### GitHub Packages Docker Registry ### GitHub Packages Docker Registry