Skip to content

Commit b33f9cc

Browse files
authored
Merge pull request #25 from cyclimse/feat/push-to-dockerhub
feat(ci): push to Docker Hub
2 parents e369f58 + ad6097a commit b33f9cc

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,27 @@ jobs:
2121
with:
2222
go-version: stable
2323

24+
# To push with ko directly to Docker Hub
25+
- name: Login to Docker Hub
26+
uses: docker/login-action@v3
27+
with:
28+
username: ${{ secrets.DOCKERHUB_USERNAME }}
29+
password: ${{ secrets.DOCKERHUB_TOKEN }}
30+
2431
- name: Run GoReleaser
2532
uses: goreleaser/goreleaser-action@v6
2633
with:
2734
distribution: goreleaser
28-
# 'latest', 'nightly', or a semver
2935
version: "~> v2"
3036
args: release --clean
3137
env:
3238
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
40+
- name: Update Docker Hub description
41+
uses: peter-evans/dockerhub-description@v5
42+
with:
43+
username: ${{ secrets.DOCKERHUB_USERNAME }}
44+
password: ${{ secrets.DOCKERHUB_TOKEN }}
45+
46+
repository: cyclimse/mcp-scaleway-functions
47+
short-description: ${{ github.event.repository.description }}

.goreleaser.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,35 @@ builds:
1717
- windows
1818
- darwin
1919

20+
kos:
21+
- repositories: [cyclimse/mcp-scaleway-functions]
22+
tags:
23+
- "{{.Version}}"
24+
- latest
25+
bare: true
26+
preserve_import_paths: false
27+
labels:
28+
io.modelcontextprotocol.server.name: "io.github.cyclimse/mcp-scaleway-functions"
29+
30+
mcp:
31+
name: io.github.cyclimse/mcp-scaleway-functions
32+
title: "MCP Scaleway Functions"
33+
description: "Unofficial MCP Server for Scaleway Serverless Functions"
34+
35+
auth:
36+
type: none
37+
38+
repository:
39+
source: github
40+
url: https://github.com/cyclimse/mcp-scaleway-functions
41+
id: "1061220206"
42+
43+
packages:
44+
- registry_type: oci
45+
identifier: "docker.io/cyclimse/mcp-scaleway-functions:{{ .Version }}"
46+
transport:
47+
type: stdio
48+
2049
archives:
2150
- formats: [tar.gz]
2251
# this name template makes the OS and Arch compatible with the results of `uname`.

0 commit comments

Comments
 (0)