gha: Add workflow to test rootless install
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
02ac1b4ada
commit
5c96993da4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue