Automatically start Docker service with --no-autostart disable option #653
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: docker-install CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu:22.04 | |
| - ubuntu:24.04 | |
| - quay.io/centos/centos:stream9 | |
| version: | |
| - "27.5" | |
| - "" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Shellcheck | |
| 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 | |