File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Image
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+ release :
8+ types : [published]
9+
10+ permissions :
11+ contents : read
12+ id-token : write
13+
14+ jobs :
15+ docker :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Build and Push to Docker Hub
21+ uses : grafana/shared-workflows/actions/build-push-to-dockerhub@main
22+ with :
23+ context : .
24+ file : ./Dockerfile
25+ repository : grafana/mcp-grafana
26+ tags : |
27+ latest
28+ ${{ github.ref_name }}
29+ push : true
Original file line number Diff line number Diff line change 11# Build stage
22FROM golang:1.24-bullseye AS builder
33
4+ LABEL io.modelcontextprotocol.server.name="grafana/mcp-grafana"
5+
46# Set the working directory
57WORKDIR /app
68
You can’t perform that action at this time.
0 commit comments