Skip to content

MCP Server CRUD

MCP Server CRUD #236

Workflow file for this run

#name: Ollama
#on:
# push:
# tags:
# - 'v*.*.*'
#jobs:
# publish:
# name: Build and push ollama container
# runs-on: ubuntu-latest
# strategy:
# matrix:
# models:
# - model: 'llama3'
# - model: 'llama3.1'
# permissions:
# contents: 'read'
# id-token: 'write'
# packages: 'write'
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Docker meta
# id: meta
# uses: docker/metadata-action@v5
# with:
# # list of Docker images to use as base name for tags
# images: |
# ghcr.io/pluralsh/ollama
# # generate Docker tags based on the following events/attributes
# tags: |
# type=semver,pattern={{version}},suffix=-${{ matrix.models.model }}
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to GHCR
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: "."
# file: "./dockerfiles/ollama/base.Dockerfile"
# push: true
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# platforms: linux/amd64,linux/arm64
# build-args: |
# OLLAMA_BASE_MODEL=${{ matrix.models.model }}