test cache
All checks were successful
/ docker (push) Successful in 28s

This commit is contained in:
Lee 2023-07-08 01:02:19 +01:00
parent 59e116c19d
commit e2b2d0694b

View File

@ -18,12 +18,13 @@ jobs:
path: /usr/bin/docker
key: ${{ runner.os }}-docker
- name: Install Docker
- name: Install Docker (if not cached)
if: steps.docker-cache.outputs.cache-hit != 'true'
run: |
wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \
&& tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
&& rm -rf /tmp/*
&& rm -rf /tmp/* &&
echo "Done"
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2