|
27 | 27 | name: "Flatpak" |
28 | 28 | runs-on: ubuntu-latest |
29 | 29 | container: |
30 | | - image: bilelmoussaoui/flatpak-github-actions:gnome-47 |
| 30 | + image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48 |
31 | 31 | options: --privileged |
32 | 32 | steps: |
33 | 33 | - uses: actions/checkout@v4 |
|
76 | 76 | name: "Flatpak" |
77 | 77 | runs-on: ubuntu-latest |
78 | 78 | container: |
79 | | - image: bilelmoussaoui/flatpak-github-actions:gnome-47 |
| 79 | + image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48 |
80 | 80 | options: --privileged |
81 | 81 | strategy: |
82 | 82 | matrix: |
|
89 | 89 | - name: Install deps |
90 | 90 | if: ${{ matrix.arch != 'x86_64' }} |
91 | 91 | run: | |
92 | | - dnf -y install docker |
| 92 | + # Use the static binaries because it's unable to use a package manager |
| 93 | + curl https://download.docker.com/linux/static/stable/x86_64/docker-26.0.0.tgz --output ./docker.tgz |
| 94 | + tar xzvf docker.tgz |
| 95 | + mv docker/* /usr/bin |
93 | 96 | - name: Set up QEMU |
94 | 97 | if: ${{ matrix.arch != 'x86_64' }} |
95 | 98 | id: qemu |
@@ -161,7 +164,7 @@ jobs: |
161 | 164 | name: "Flatpak" |
162 | 165 | runs-on: ubuntu-latest |
163 | 166 | container: |
164 | | - image: bilelmoussaoui/flatpak-github-actions:gnome-47 |
| 167 | + image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48 |
165 | 168 | options: --privileged |
166 | 169 | steps: |
167 | 170 | - uses: actions/checkout@v4 |
@@ -193,41 +196,6 @@ jobs: |
193 | 196 | | `build-log-url` | URL to Flatpak build log | Optional | - | |
194 | 197 | | `verbose` | Enable verbosity | Optional | `false` | |
195 | 198 |
|
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` | |
| 199 | +### Container Images |
| 200 | + |
| 201 | +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. |
0 commit comments