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

extend release workflow to push to quay #1278

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

HVBE
Copy link
Collaborator

@HVBE HVBE commented Oct 16, 2023

Add operator release mirroring to quay

Tested on my own fork against my own quay repository: https://github.com/HubertStefanski/grafana-operator/actions/runs/6532690631/job/17736608088 (Not sure if this is visible)

During my testing the process works, but fails on authentication, although that's expected as my quay username is hstefans while my GH username is HubertStefanski and the workflow assumes that the organization and repository name is the same on Quay as it is for GHCR. This however won't be a problem for the operator, as https://quay.io/repository/grafana-operator/grafana-operator is an organization we own and matches the same naming convention as GHCR i,e <host>/<org>/<project>:tag

@HVBE HVBE self-assigned this Oct 16, 2023
@HVBE
Copy link
Collaborator Author

HVBE commented Oct 16, 2023

resolves #1278

@HVBE HVBE changed the title extend release workflow to push to quay WIP: extend release workflow to push to quay Oct 17, 2023
@HVBE
Copy link
Collaborator Author

HVBE commented Oct 17, 2023

Moving to WIP, requires some refactoring to account for multiarch images

@HVBE HVBE changed the title WIP: extend release workflow to push to quay extend release workflow to push to quay Oct 18, 2023
@HVBE
Copy link
Collaborator Author

HVBE commented Oct 18, 2023

Both quay.io and ghcr.io should build in parallel for multiarch

@HVBE
Copy link
Collaborator Author

HVBE commented Oct 31, 2023

Verified on my own repositories:

https://github.com/HubertStefanski/grafana-operator/pkgs/container/grafana-operator = sha256:a7b1ba4d222f687824d7f27b873630bc94aea634f9581ef9e0e3300e15c29cd4
https://quay.io/repository/hubertstefanski/grafana-operator/manifest/sha256:a7b1ba4d222f687824d7f27b873630bc94aea634f9581ef9e0e3300e15c29cd4

ghcr.io = sha256:a7b1ba4d222f687824d7f27b873630bc94aea634f9581ef9e0e3300e15c29cd4
quay.io = sha256:a7b1ba4d222f687824d7f27b873630bc94aea634f9581ef9e0e3300e15c29cd4

.github/workflows/release.yaml Outdated Show resolved Hide resolved
@HVBE HVBE merged commit fd5cf5b into master Nov 1, 2023
9 checks passed
@HVBE HVBE deleted the quay-release-workflows branch November 1, 2023 22:28
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.

None yet

2 participants