feat: setup standalone build and docker deployment
This commit is contained in:
@@ -46,12 +46,18 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
needs: build-and-test
|
needs: build-and-test
|
||||||
runs-on: CDCD
|
runs-on: CDCD
|
||||||
|
container: dockerreg.eazygame.cn/node:22-bookworm
|
||||||
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