Update '.gitea/workflows/publish.yaml'
Some checks failed
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 21:09:48 +01:00
parent 34c17ea167
commit 190c19f238

@ -17,7 +17,16 @@ jobs:
- name: checkout
uses: https://github.com/actions/checkout@v3
- name: download docker
- name: Restore Docker
id: cache-docker
uses: actions/cache/restore@v3
with:
path: |
/usr/bin/docker
key: ${{ runner.os }}-docker
- name: Download docker
if: steps.cache-docker.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 \