mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
show what would be found
This commit is contained in:
parent
395ed5f958
commit
8452800fcc
6 changed files with 13 additions and 1 deletions
58
docs/Examples/Adding-Flatpaks.md
Normal file
58
docs/Examples/Adding-Flatpaks.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Adding Flatpaks
|
||||
|
||||
- [Directly using refs](#Directly-using-refs)
|
||||
- [Using a directory](#Using-a-directory)
|
||||
|
||||
## Directly using refs
|
||||
Action:
|
||||
Specify the following in your workflow:
|
||||
```yaml
|
||||
- name: Build ISO
|
||||
uses: jasonn3/build-container-installer@main
|
||||
id: build
|
||||
with:
|
||||
flatpak_remote_name: flathub
|
||||
flatpak_remote_url: https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak_remote_refs: app/org.videolan.VLC/x86_64/stable runtime/org.kde.Platform/x86_64/5.15-23.08
|
||||
```
|
||||
Podman:
|
||||
Run the following command:
|
||||
```bash
|
||||
podman run --privileged --volume ./:/github/workspace/ ghcr.io/jasonn3/build-container-installer:main \
|
||||
FLATPAK_REMOTE_NAME=flathub \
|
||||
FLATPAK_REMOTE_URL=https://flathub.org/repo/flathub.flatpakrepo \
|
||||
FLATPAK_REMOTE_REFS="app/org.videolan.VLC/x86_64/stable runtime/org.kde.Platform/x86_64/5.15-23.08"
|
||||
```
|
||||
---
|
||||
## Using a directory
|
||||
Action:
|
||||
1. Create a directory within your GitHub repo named flatpak_refs
|
||||
1. Create a file within flatpak_refs with the following content
|
||||
```
|
||||
app/org.videolan.VLC/x86_64/stable
|
||||
runtime/org.kde.Platform/x86_64/5.15-23.08
|
||||
```
|
||||
Specify the following in your workflow:
|
||||
```yaml
|
||||
- name: Build ISO
|
||||
uses: jasonn3/build-container-installer@main
|
||||
id: build
|
||||
with:
|
||||
flatpak_remote_name: flathub
|
||||
flatpak_remote_url: https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak_remote_refs_dir: /github/workspace/flatpak_refs
|
||||
```
|
||||
Podman:
|
||||
1. Create a directory named flatpak_refs
|
||||
1. Create a file within flatpak_refs with the following content
|
||||
```
|
||||
app/org.videolan.VLC/x86_64/stable
|
||||
runtime/org.kde.Platform/x86_64/5.15-23.08
|
||||
```
|
||||
Run the following command:
|
||||
```bash
|
||||
podman run --privileged --volume ./:/github/workspace/ ghcr.io/jasonn3/build-container-installer:main \
|
||||
FLATPAK_REMOTE_NAME=flathub \
|
||||
FLATPAK_REMOTE_URL=https://flathub.org/repo/flathub.flatpakrepo \
|
||||
FLATPAK_REMOTE_REFS="app/org.videolan.VLC/x86_64/stable runtime/org.kde.Platform/x86_64/5.15-23.08"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue