Skip to content

Commit 6e6cdeb

Browse files
committed
Add latest tag
1 parent 48ce7ae commit 6e6cdeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/mcp_images.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ jobs:
3535
if [ -f "$folder/pyproject.toml" ]; then
3636
cd $folder
3737
docker buildx build --platform linux/amd64,linux/arm64 \
38-
--tag ${{ secrets.DOCKER_NS }}/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
38+
--tag ${{ secrets.DOCKER_NS }}/mcp-$foldername:${{ github.event.client_payload.ref }} \
39+
--tag latest \
3940
--push .
4041
cd $top_level_folder
4142
else
4243
foldername=$(basename $folder)
4344
docker buildx build --platform linux/amd64,linux/arm64 \
44-
--tag ${{ secrets.DOCKER_NS }}/mcp-$foldername:${{ github.event.client_payload.release_tag }} \
45+
--tag ${{ secrets.DOCKER_NS }}/mcp-$foldername:${{ github.event.client_payload.ref }} \
46+
--tag latest \
4547
--file $folder/Dockerfile \
4648
--push .
4749
fi

0 commit comments

Comments
 (0)