|
24 | 24 | workflow_dispatch:
|
25 | 25 |
|
26 | 26 | jobs:
|
27 |
| - # Builds and pushes docker images to DockerHub, packages the Helm chart and |
| 27 | + # Builds and pushes docker images to quay.io, packages the Helm chart and |
28 | 28 | # pushes it to jupyterhub/helm-chart@gh-pages where index.yaml represents the
|
29 | 29 | # JupyterHub organization Helm chart repository.
|
30 | 30 | #
|
31 | 31 | # ref: https://github.com/jupyterhub/helm-chart
|
32 |
| - # ref: https://hub.docker.com/orgs/jupyterhub |
| 32 | + # ref: https://quay.io/organization/jupyterhub |
33 | 33 | #
|
34 | 34 | Publish:
|
35 | 35 | runs-on: ubuntu-latest
|
@@ -81,17 +81,14 @@ jobs:
|
81 | 81 | echo "${{ secrets.JUPYTERHUB_HELM_CHART_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
82 | 82 | chmod 600 ~/.ssh/id_ed25519
|
83 | 83 |
|
84 |
| - - name: Setup push rights to Docker Hub |
| 84 | + - name: Setup push rights to Quay.io |
85 | 85 | # This was setup by...
|
86 |
| - # 1. Creating a Docker Hub service account "jupyterhubbot" |
87 |
| - # 2. Making the account part of the "bots" team, and granting that team |
88 |
| - # permissions to push to the relevant images: |
89 |
| - # https://hub.docker.com/orgs/jupyterhub/teams/bots/permissions |
90 |
| - # 3. Registering the username and password as a secret for this repo: |
91 |
| - # https://github.com/jupyterhub/binderhub/settings/secrets/actions |
92 |
| - # |
| 86 | + # 1. Creating a [Robot Account](https://quay.io/organization/jupyterhub?tab=robots) in the JupyterHub |
| 87 | + # . quay.io org |
| 88 | + # 2. Giving it enough permissions to push to the binderhub image |
| 89 | + # 3. Putting the robot account's username and password in GitHub actions environment |
93 | 90 | run: |
|
94 |
| - docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}" |
| 91 | + docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" quay.io |
95 | 92 |
|
96 | 93 | - name: Configure a git user
|
97 | 94 | # Having a user.email and user.name configured with git is required to
|
|
0 commit comments