You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> :warning: GitHub Packages Docker Registry (aka `docker.pkg.github.com`) **is deprecated** and will sunset early next
60
-
> year. It's strongly advised to [migrate to GitHub Container Registry](https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images)
61
-
> instead.
62
-
63
-
You can configure the Docker client to use [GitHub Packages to publish and retrieve docker images](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages).
64
-
65
-
```yaml
66
-
name: ci
67
-
68
-
on:
69
-
push:
70
-
branches: master
71
-
72
-
jobs:
73
-
login:
74
-
runs-on: ubuntu-latest
75
-
steps:
76
-
-
77
-
name: Login to GitHub Packages Docker Registry
78
-
uses: docker/login-action@v1
79
-
with:
80
-
registry: docker.pkg.github.com
81
-
username: ${{ github.repository_owner }}
82
-
password: ${{ secrets.GITHUB_TOKEN }}
83
-
```
84
-
85
56
### GitHub Container Registry
86
57
87
58
To use the [GitHub Container Registry](https://docs.github.com/en/packages/getting-started-with-github-container-registry),
0 commit comments