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

Multiple packages on the same remote #10

Open
grillo-delmal opened this issue Jun 20, 2023 · 0 comments
Open

Multiple packages on the same remote #10

grillo-delmal opened this issue Jun 20, 2023 · 0 comments

Comments

@grillo-delmal
Copy link

More than an issue, I just wanted to share how I made a multi-package flatpak remote source using this project as base.

First I created a repo that would work as a hub for all the other projects [0]. This repository has a folder with all of the OCI descriptions from github and a workflow that mixes them and creates the file to host on gh-pages.

On each of the source projects, I created a workflow that builds the flatpak OCI image for the project [1], then it pushes them to the github OCI repo the same way this project does [2]. Then, instead of updating the local gh-pages branch of the project, I send a commit to update it's respective OCI description file on the hub repo [3].

For all of this to work I also had to create and install the respective keys for the projects to push the packages into the OCI repository and to update the description files into the hub repo... but I won't go into details about this process here.

I thought on upstreaming this workflow, but it didn't made sense since I changed the structure of the project a lot for this to work. I hope that at the very least this helps :)

[0] https://github.com/grillo-delmal/inochi2d-flatpak-devtest
[1] https://github.com/gasinvein/proton-flatpak/blob/master/.github/workflows/flatpak.yml#L18-L70
[2] https://github.com/gasinvein/proton-flatpak/blob/master/.github/workflows/flatpak.yml#L102-L132
[3] https://github.com/gasinvein/proton-flatpak/blob/master/.github/workflows/flatpak.yml#L134-L186

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

No branches or pull requests

1 participant