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