mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-01-31 13:53:33 +08:00
fix: arm
This commit is contained in:
4
.github/workflows/slmcp-docker.yml
vendored
4
.github/workflows/slmcp-docker.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
- "v*"
|
||||
paths:
|
||||
- "slmcp/**"
|
||||
- ".github/workflows/slmcp-docker.yml"
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@@ -18,6 +19,8 @@ jobs:
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
@@ -30,6 +33,7 @@ jobs:
|
||||
with:
|
||||
context: ./slmcp
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
chaitin/safeline-mcp:latest
|
||||
chaitin/safeline-mcp:${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user