Skip to content

Docker cache

Docker cache #114

Workflow file for this run

name: Verify
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
jobs:
verify:
runs-on: envoy-x64-small
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: |
sudo apt-get update
sudo apt-get -qq install -y --no-install-recommends expect gettext whois zstd
zstd --version
pip install -r ./.github/workflows/verify-requirements.txt
- run: |
bazel run --config=ci --sandbox_writable_path="${HOME}/.docker/" --sandbox_writable_path=$HOME :verify_examples
- run: |
sudo systemctl stop docker
df -h
TEMPDIR=$(mktemp -d)
tar cf - /var/lib/docker | zstd - -q -T0 -o "${TEMPDIR}/docker.tar.zst"
ls -alh "${TEMPDIR}/docker.tar.zst"