mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
37 lines
927 B
YAML
37 lines
927 B
YAML
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
|
|
|