Update '.gitea/workflows/publish.yaml'
Some checks failed
docker (git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 22:00:45 +01:00
parent 35e2ccd402
commit b9bd7f8e85

@ -9,7 +9,7 @@ jobs:
docker: docker:
strategy: strategy:
matrix: matrix:
arch: ['ubuntu-latest'] arch: ['git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest']
git-version: ['2.38.4'] git-version: ['2.38.4']
runs-on: ${{ matrix.arch }} runs-on: ${{ matrix.arch }}
#container: node:19-alpine #container: node:19-alpine
@ -26,12 +26,12 @@ jobs:
key: ${{ runner.os }}-docker key: ${{ runner.os }}-docker
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.GH_TOKEN }}
- name: Download docker #- name: Download docker
if: steps.cache-docker.outputs.cache-hit != 'true' # if: steps.cache-docker.outputs.cache-hit != 'true'
run: | # run: |
wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \ # 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 \ # && tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
&& rm -rf /tmp/* # && rm -rf /tmp/*
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2 uses: https://github.com/docker/setup-buildx-action@v2