Skip to content

Commit bacd9fe

Browse files
authored
Merge pull request #1789 from yuvipanda/quay
Move to quay.io
2 parents 729ac45 + fb668d8 commit bacd9fe

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

.github/workflows/publish.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ on:
2424
workflow_dispatch:
2525

2626
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
2828
# pushes it to jupyterhub/helm-chart@gh-pages where index.yaml represents the
2929
# JupyterHub organization Helm chart repository.
3030
#
3131
# ref: https://github.com/jupyterhub/helm-chart
32-
# ref: https://hub.docker.com/orgs/jupyterhub
32+
# ref: https://quay.io/organization/jupyterhub
3333
#
3434
Publish:
3535
runs-on: ubuntu-latest
@@ -81,17 +81,14 @@ jobs:
8181
echo "${{ secrets.JUPYTERHUB_HELM_CHART_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
8282
chmod 600 ~/.ssh/id_ed25519
8383
84-
- name: Setup push rights to Docker Hub
84+
- name: Setup push rights to Quay.io
8585
# 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
9390
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
9592
9693
- name: Configure a git user
9794
# Having a user.email and user.name configured with git is required to

helm-chart/binderhub/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ nodeSelector: {}
1717
tolerations: []
1818

1919
image:
20-
name: jupyterhub/k8s-binderhub
20+
name: quay.io/jupyterhub/k8s-binderhub
2121
tag: "set-by-chartpress"
2222
pullPolicy: ""
2323
pullSecrets: []

helm-chart/chartpress.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
charts:
77
- name: binderhub
88
baseVersion: 1.0.0-0.dev
9-
imagePrefix: jupyterhub/k8s-
9+
imagePrefix: quay.io/jupyterhub/k8s-
1010
repo:
1111
git: jupyterhub/helm-chart
1212
published: https://jupyterhub.github.io/helm-chart

helm-chart/images/binderhub/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
3030

3131
# The final stage
3232
# ---------------
33-
# This stage is built and published as jupyterhub/k8s-binderhub.
33+
# This stage is built and published as quay.io/jupyterhub/k8s-binderhub.
3434
#
3535
FROM python:3.11-slim-bullseye
3636

0 commit comments

Comments
 (0)