File tree Expand file tree Collapse file tree 4 files changed +45
-25
lines changed
Expand file tree Collapse file tree 4 files changed +45
-25
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docker image
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ publish-docker :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Docker meta
15+ id : meta
16+ uses : docker/metadata-action@v5
17+ with :
18+ # list of Docker images to use as base name for tags
19+ images : |
20+ expediagroup/expedia-travel-recommendations-mcp
21+ # Generate Docker tags based on the following events/attributes
22+ tags : |
23+ type=ref,event=tag
24+
25+ - name : Set up QEMU
26+ uses : docker/setup-qemu-action@v3
27+
28+ - name : Set up Docker Buildx
29+ uses : docker/setup-buildx-action@v3
30+
31+ - name : Login to DockerHub
32+ uses : docker/login-action@v3
33+ with :
34+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
35+ password : ${{ secrets.DOCKER_HUB_PASSWORD }}
36+
37+ - name : Build and push
38+ uses : docker/build-push-action@v5
39+ with :
40+ platforms : linux/amd64,linux/arm64,linux/arm/v7
41+ push : true
42+ tags : ${{ steps.meta.outputs.tags }}
43+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 11name : Publish to PyPI and Docker Hub
22
3- on :
4- push :
5- tags :
6- - ' v*' # Triggers only on version tags like v1.0.0
7-
83jobs :
94 build :
105 runs-on : ubuntu-latest
4742 - name : Publish to PyPI
4843 uses : pypa/gh-action-pypi-publish@release/v1
4944 with :
50- verbose : true
51-
52- - name : Log in to Docker Hub
53- uses : docker/login-action@v3
54- with :
55- username : ${{ secrets.DOCKER_HUB_USERNAME }}
56- password : ${{ secrets.DOCKER_HUB_PASSWORD }}
57-
58- - name : Build and push Docker image
59- run : |
60- IMAGE=${{ secrets.DOCKER_HUB_USERNAME }}/expedia-travel-recommendations-mcp
61- VERSION=${GITHUB_REF#refs/tags/v}
62-
63- # Build and tag with version and latest
64- docker build -t $IMAGE:$VERSION -t $IMAGE:latest .
65-
66- # Push both tags
67- docker push $IMAGE:$VERSION
68- docker push $IMAGE:latest
45+ verbose : true
File renamed without changes.
Original file line number Diff line number Diff line change 11[project ]
22name = " expedia-travel-recommendations-mcp"
3- version = " 0.1.8 "
3+ version = " 0.1.9 "
44description = " Travel recommendations MCP Server"
55readme = " README.md"
66license = { file = " LICENSE" }
You can’t perform that action at this time.
0 commit comments