]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(ubuntu): set DISTRIBUTION when building container
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 15 Aug 2025 14:03:03 +0000 (10:03 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Fri, 15 Aug 2025 20:19:33 +0000 (16:19 -0400)
The containers built with as part of container-extra GA set
DISTRIBUTION variable when when building container.

Do the same for the container GA to make sure that ubuntu:rolling
container is properly built.

Fixes: https://github.com/dracut-ng/dracut-ng/issues/1581
.github/workflows/container.yml

index 8d9a8919d87667b45c00c592e40a604a663f75f2..bb2563c0e298b4dcc5201fb2f1aaa9c9a4176f4a 100644 (file)
@@ -68,3 +68,6 @@ jobs:
                   tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}-${{ matrix.architecture.tag }}
                   push: ${{ github.event_name == 'push' ||  github.event_name == 'schedule' }}
                   platforms: ${{ matrix.architecture.platform }}
+                  build-args: |
+                      DISTRIBUTION=${{ matrix.config.tag }}
+                      PLATFORM=${{ matrix.config.platform }}