{"repo":"docker/login-action","free":true,"listed":false,"github":"https://github.com/docker/login-action","clone":"git clone https://github.com/docker/login-action.git","description":"GitHub Action to login against a Docker registry","language":"TypeScript","stars":1473,"topics":["github-actions","docker","login","ecr-registry","azure","registry","gitlab-registry","dockerhub","docker-registry","google-container-registry"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"About GitHub Action to login against a Docker registry. Usage Docker Hub GitHub Container Registry GitLab Azure Container Registry (ACR) Google Container Registry (GCR) Google Artifact Registry (GAR) AWS Elastic Container Registry (ECR) AWS Public Elastic Container Registry (ECR) OCI Oracle Cloud Infrastructure Registry (OCIR) Quay.io DigitalOcean Authenticate to multiple registries Set scopes for the authentication token Customizing inputs environment variables Contributing Usage Docker Hub When authenticating to Docker Hub with GitHub Actions, use a personal access token. Don't use your account password. You can also authenticate to Docker Hub with OpenID Connect when your Docker Hub organization has an OIDC connection configured. The workflow must grant the id-token: write permission, pass the Docker Hub organization name as username , omit password , and set the OIDC connection ID in DOCKERHUB OIDC CONNECTIONID environment variable. GitHub Container Registry To authenticate to the GitHub Container Registry, use the GITHUB TOKEN secret. You may need to manage write and read access of GitHub Actions for repositories in the container settings. You can also use a personal access token (PAT) with the appropriate scopes. GitLab If you have Two-Factor Authentication enabled, use a Personal Access Token instead of a password. Azure Container Registry (ACR) Service principal Create a service principal with access to your container registry through the Azure CLI and take note of th","default_branch":null,"files":null,"tree":[],"storefront":"/r/docker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/docker/login-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}