-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: GHCR as the main registry #1283
base: main
Are you sure you want to change the base?
Conversation
@@ -347,11 +355,12 @@ jobs: | |||
|
|||
- uses: docker/setup-buildx-action@v3 | |||
|
|||
- name: Login to Dockerhub | |||
- name: Login to GHCR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as we still need login to DockerHub, we can leave that step in place and add login to GHCR below or above, that will make PR diff more readable and easier to understand
.github/workflows/build-images.yaml
Outdated
IMG_AUTOSCALER_AGENT: "neondatabase/autoscaler-agent" | ||
IMG_DAEMON: "neondatabase/neonvm-daemon" | ||
IMG_CLUSTER_AUTOSCALER: "neondatabase/cluster-autoscaler-neonvm" | ||
IMG_CONTROLLER: "ghcr.io/neondatabase/neonvm-controller" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can left that unchanged and add string "ghcr.io" inside the step we need it.
That will lead to:
- less changes and more readable PR
- no need for the
"${image#ghcr.io/}
in theCopy images to DockerHub step
ef615bc
to
57bbbeb
Compare
No description provided.