Skip to content

Commit 5624813

Browse files
Recommend images from flathub
1 parent fc80c13 commit 5624813

File tree

7 files changed

+13
-231
lines changed

7 files changed

+13
-231
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 183 deletions
This file was deleted.

.github/workflows/flatpak-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Flatpak Builder
1010
runs-on: ubuntu-latest
1111
container:
12-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
12+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
1313
options: --privileged
1414
strategy:
1515
fail-fast: false
@@ -55,7 +55,7 @@ jobs:
5555
name: Flatpak Builder Stop At
5656
runs-on: ubuntu-latest
5757
container:
58-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
58+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
5959
options: --privileged
6060
steps:
6161
- uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
needs: flatpak-builder
7373
container:
74-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
74+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
7575
options: --privileged
7676
steps:
7777
- uses: actions/checkout@v4

README.md

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: "Flatpak"
2828
runs-on: ubuntu-latest
2929
container:
30-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
30+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
3131
options: --privileged
3232
steps:
3333
- uses: actions/checkout@v4
@@ -76,7 +76,7 @@ jobs:
7676
name: "Flatpak"
7777
runs-on: ubuntu-latest
7878
container:
79-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
79+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
8080
options: --privileged
8181
strategy:
8282
matrix:
@@ -161,7 +161,7 @@ jobs:
161161
name: "Flatpak"
162162
runs-on: ubuntu-latest
163163
container:
164-
image: bilelmoussaoui/flatpak-github-actions:gnome-47
164+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
165165
options: --privileged
166166
steps:
167167
- uses: actions/checkout@v4
@@ -193,41 +193,6 @@ jobs:
193193
| `build-log-url` | URL to Flatpak build log | Optional | - |
194194
| `verbose` | Enable verbosity | Optional | `false` |
195195

196-
### Docker Image
197-
198-
The Docker image used for the action consists of 2 parts: The base image, based on Fedora and which can be found
199-
[here](./Dockerfile), and the specific image of the runtime you choose, which is generated through
200-
[this](.github/workflows/docker.yml) GitHub Actions workflow.
201-
202-
You can specify the specific runtime you need to use through the image tags:
203-
204-
| Runtime | Version | Tag | Example |
205-
| --------------- | ------- | ------------------- | ---------------------------------------------------------------- |
206-
| Freedesktop SDK | 20.08 | `freedesktop-20.08` | `image: bilelmoussaoui/flatpak-github-actions:freedesktop-20.08` |
207-
| Freedesktop SDK | 21.08 | `freedesktop-21.08` | `image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08` |
208-
| Freedesktop SDK | 22.08 | `freedesktop-22.08` | `image: bilelmoussaoui/flatpak-github-actions:freedesktop-22.08` |
209-
| Freedesktop SDK | 23.08 | `freedesktop-23.08` | `image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08` |
210-
| Freedesktop SDK | 24.08 | `freedesktop-24.08` | `image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08` |
211-
| GNOME | 3.38 | `gnome-3.38` | `image: bilelmoussaoui/flatpak-github-actions:gnome-3.38` |
212-
| GNOME | 40 | `gnome-40` | `image: bilelmoussaoui/flatpak-github-actions:gnome-40` |
213-
| GNOME | 41 | `gnome-41` | `image: bilelmoussaoui/flatpak-github-actions:gnome-41` |
214-
| GNOME | 42 | `gnome-42` | `image: bilelmoussaoui/flatpak-github-actions:gnome-42` |
215-
| GNOME | 43 | `gnome-43` | `image: bilelmoussaoui/flatpak-github-actions:gnome-43` |
216-
| GNOME | 44 | `gnome-44` | `image: bilelmoussaoui/flatpak-github-actions:gnome-44` |
217-
| GNOME | 45 | `gnome-45` | `image: bilelmoussaoui/flatpak-github-actions:gnome-45` |
218-
| GNOME | 46 | `gnome-46` | `image: bilelmoussaoui/flatpak-github-actions:gnome-46` |
219-
| GNOME | 47 | `gnome-47` | `image: bilelmoussaoui/flatpak-github-actions:gnome-47` |
220-
| GNOME | master | `gnome-nightly` | `image: bilelmoussaoui/flatpak-github-actions:gnome-nightly` |
221-
| KDE | 5.15 | `kde-5.15` | `image: bilelmoussaoui/flatpak-github-actions:kde-5.15` |
222-
| KDE | 5.15-21.08 | `kde-5.15-21.08` | `image: bilelmoussaoui/flatpak-github-actions:kde-5.15-21.08` |
223-
| KDE | 5.15-22.08 | `kde-5.15-22.08` | `image: bilelmoussaoui/flatpak-github-actions:kde-5.15-22.08` |
224-
| KDE | 5.15-23.08 | `kde-5.15-23.08` | `image: bilelmoussaoui/flatpak-github-actions:kde-5.15-23.08` |
225-
| KDE | 5.15-24.08 | `kde-5.15-24.08` | `image: bilelmoussaoui/flatpak-github-actions:kde-5.15-24.08` |
226-
| KDE | 6.2 | `kde-6.2` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.2` |
227-
| KDE | 6.3 | `kde-6.3` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.3` |
228-
| KDE | 6.4 | `kde-6.4` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.4` |
229-
| KDE | 6.5 | `kde-6.5` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.5` |
230-
| KDE | 6.6 | `kde-6.6` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.6` |
231-
| KDE | 6.7 | `kde-6.7` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.7` |
232-
| KDE | 6.8 | `kde-6.8` | `image: bilelmoussaoui/flatpak-github-actions:kde-6.8` |
233-
| elementary BaseApp | juno | `juno` | `image: bilelmoussaoui/flatpak-github-actions:elementary-juno` |
196+
### Container Images
197+
198+
You can use the generated images by Flathub at https://github.com/flathub-infra/flatpak-github-actions/pkgs/container/flatpak-github-actions/versions?filters%5Bversion_type%5D=tagged to avoid re-installing the SDKs for every build.

flatpak-builder/tests/app-test/manifest-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "47"
5+
runtime-version: "48"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

flatpak-builder/tests/manifest-1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
app-id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "47"
5+
runtime-version: "48"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

flatpak-builder/tests/manifest-3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"app-id": "org.gnome.design.Contrast.Devel",
33
"runtime": "org.gnome.Platform",
4-
"runtime-version": "47",
4+
"runtime-version": "48",
55
"sdk": "org.gnome.Sdk",
66
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
77
"command": "contrast",

flatpak-builder/tests/test-project/org.example.MyApp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
app-id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "47"
5+
runtime-version: "48"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

0 commit comments

Comments
 (0)