fix: remove invalid docker binary mount and reinstall cli
This commit is contained in:
@@ -50,13 +50,17 @@ jobs:
|
|||||||
image: dockerreg.eazygame.cn/node:22-bookworm
|
image: dockerreg.eazygame.cn/node:22-bookworm
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /usr/bin/docker:/usr/bin/docker
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: next-build
|
name: next-build
|
||||||
|
|
||||||
|
- name: Install Docker CLI
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y docker.io
|
||||||
|
|
||||||
- name: Deploy to Docker
|
- name: Deploy to Docker
|
||||||
run: |
|
run: |
|
||||||
docker build -t nextjs-app .
|
docker build -t nextjs-app .
|
||||||
|
|||||||
Reference in New Issue
Block a user