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

hubeadmin
Copy link
Collaborator

@hubeadmin hubeadmin 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

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

resolves #1278

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

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

@hubeadmin hubeadmin force-pushed the quay-release-workflows branch from 1dea01a to 5248903 Compare October 18, 2023 09:20
@hubeadmin hubeadmin changed the title WIP: extend release workflow to push to quay extend release workflow to push to quay Oct 18, 2023
@hubeadmin
Copy link
Collaborator Author

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

@hubeadmin hubeadmin force-pushed the quay-release-workflows branch from 5248903 to a8d453b Compare October 31, 2023 12:15
@hubeadmin
Copy link
Collaborator Author

hubeadmin 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
@hubeadmin hubeadmin force-pushed the quay-release-workflows branch from a8d453b to 8ead818 Compare November 1, 2023 14:18
@hubeadmin hubeadmin force-pushed the quay-release-workflows branch from 8ead818 to b350faf Compare November 1, 2023 15:38
@hubeadmin hubeadmin merged commit fd5cf5b into master Nov 1, 2023
@hubeadmin hubeadmin 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.

2 participants