readme: Add note to remind GitLab can use PAT

Signed-off-by: Hedgehog Chen <jhihruei@users.noreply.github.com>
This commit is contained in:
Hedgehog Chen 2023-05-30 14:20:21 +08:00
parent 40891eba8c
commit 83e260592e

View file

@ -107,6 +107,8 @@ jobs:
password: ${{ secrets.GITLAB_PASSWORD }} password: ${{ secrets.GITLAB_PASSWORD }}
``` ```
If you have [Two-Factor Authentication](https://gitlab.com/help/user/profile/account/two_factor_authentication) enabled, use a [Personal Access Token](https://gitlab.com/help/user/profile/personal_access_tokens) instead of a password.
### Azure Container Registry (ACR) ### Azure Container Registry (ACR)
[Create a service principal](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal) [Create a service principal](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal)