This commit is contained in:
@@ -8,36 +8,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
options: -v /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Build XHS image
|
||||||
uses: actions/setup-node@v4
|
run: docker build --build-arg APP_NAME=xhs-mcp -t social-mcp-xhs:latest .
|
||||||
with:
|
|
||||||
node-version: '22'
|
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Build XHH image
|
||||||
run: npm install -g pnpm
|
run: docker build --build-arg APP_NAME=xhh-mcp -t social-mcp-xhh:latest .
|
||||||
|
|
||||||
- name: Build XHS Docker image
|
|
||||||
run: |
|
|
||||||
docker build \
|
|
||||||
--build-arg APP_NAME=xhs-mcp \
|
|
||||||
-t social-mcp-xhs:latest \
|
|
||||||
-t social-mcp-xhs:${{ github.sha }} \
|
|
||||||
.
|
|
||||||
|
|
||||||
- name: Build XHH Docker image
|
|
||||||
run: |
|
|
||||||
docker build \
|
|
||||||
--build-arg APP_NAME=xhh-mcp \
|
|
||||||
-t social-mcp-xhh:latest \
|
|
||||||
-t social-mcp-xhh:${{ github.sha }} \
|
|
||||||
.
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user