mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-24 04:06:08 +08:00
448f9ac218
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
71 lines
1.4 KiB
YAML
71 lines
1.4 KiB
YAML
name: virtual-env
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 10 * * *'
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- '.github/workflows/virtual-env.yml'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/virtual-env.yml'
|
|
|
|
jobs:
|
|
os:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- ubuntu-24.04
|
|
- ubuntu-22.04
|
|
- ubuntu-20.04
|
|
steps:
|
|
-
|
|
name: File system
|
|
run: df -ah
|
|
-
|
|
name: Mounts
|
|
run: mount
|
|
-
|
|
name: Node info
|
|
run: node -p process
|
|
-
|
|
name: NPM version
|
|
run: npm version
|
|
-
|
|
name: List install packages
|
|
run: apt list --installed
|
|
-
|
|
name: Docker daemon conf
|
|
run: |
|
|
cat /etc/docker/daemon.json || true
|
|
-
|
|
name: Docker info
|
|
run: docker info
|
|
-
|
|
name: Docker version
|
|
run: docker version
|
|
-
|
|
name: Cgroups
|
|
run: |
|
|
sudo apt-get install -y cgroup-tools
|
|
lscgroup
|
|
-
|
|
name: buildx version
|
|
run: docker buildx version
|
|
-
|
|
name: containerd version
|
|
run: containerd --version
|
|
-
|
|
name: Docker images
|
|
run: docker image ls
|
|
-
|
|
name: Dump context
|
|
if: always()
|
|
uses: crazy-max/ghaction-dump-context@v2
|