add docker

This commit is contained in:
千里走单骑 2024-04-02 23:36:17 +08:00
parent aea004744c
commit 38c2d6f249
1 changed files with 2 additions and 4 deletions

View File

@ -18,9 +18,8 @@ jobs:
- run: |
echo "nameserver 180.184.1.1" >/etc/resolv.conf
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
apk update --no-cache && npm config set registry https://registry.npmmirror.com
- name: Check out repository code
apk update && add --no-cache docker && npm config set registry https://registry.npmmirror.com
- name: 拉取代码
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
@ -28,5 +27,4 @@ jobs:
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: apt update && apt install -y git
- run: docker ps