Skip to content
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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

CI: GHCR as the main registry #1283

wants to merge 5 commits into from

Conversation

bayandin
Copy link
Member

No description provided.

@@ -347,11 +355,12 @@ jobs:

- uses: docker/setup-buildx-action@v3

- name: Login to Dockerhub
- name: Login to GHCR
Copy link
Contributor

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

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"
Copy link
Contributor

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:

  1. less changes and more readable PR
  2. no need for the "${image#ghcr.io/} in the Copy images to DockerHub step

@bayandin bayandin changed the title CI: push all images to GHCR CI: GHCR as the main registry Mar 7, 2025
@bayandin bayandin force-pushed the bayandin/ghcr branch 2 times, most recently from ef615bc to 57bbbeb Compare March 11, 2025 22:30
@bayandin bayandin changed the base branch from main to revert-1309-jc/revert-acr March 11, 2025 22:30
Base automatically changed from revert-1309-jc/revert-acr to main March 11, 2025 22:50
@bayandin bayandin deployed to prod-azure-eastus2 March 11, 2025 23:19 — with GitHub Actions Active
@bayandin bayandin deployed to dev-azure-eastus2 March 11, 2025 23:19 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants