Skip to content

Build 1Panel MCP Server Docker Image #1

Build 1Panel MCP Server Docker Image

Build 1Panel MCP Server Docker Image #1

name: Build 1Panel MCP Server Docker Image
on:
workflow_dispatch:
inputs:
tag:
description: 'Docker image tag'
required: false
default: 'v0.1.2'
env:
IMAGE_NAME: 1panel/1panel-mcp-server
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
id: buildx
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x,linux/ppc64le
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.event.inputs.tag }}