gha: Add workflow to test rootless install

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski 2025-04-17 19:29:40 +02:00
parent 02ac1b4ada
commit 5c96993da4
No known key found for this signature in database
GPG Key ID: B85EFCFE26DEF92A
1 changed files with 12 additions and 0 deletions

View File

@ -23,3 +23,15 @@ jobs:
run: make shellcheck
- name: Check distribution
run: TEST_IMAGE=${{ matrix.os }} VERSION=${{ matrix.version }} make test
# This is a separate workflow step, because we need to check it outside of container (due to lsmod, iptables checks)
test-install-rootless:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Install rootless
run: |
sudo sh -c 'echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns'
FORCE_ROOTLESS_INSTALL=1 ./rootless-install.sh