Skip to content

Commit b1ed11c

Browse files
committed
Update GitHub Actions workflow to modify permissions and enhance release notes generation
1 parent e98d836 commit b1ed11c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release-docker.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
IMAGE_NAME: docker.io/zenmldocker/mcp-zenml
99

1010
permissions:
11-
contents: read
11+
contents: write
1212

1313
jobs:
1414
docker:
@@ -53,4 +53,11 @@ jobs:
5353
tags: ${{ steps.meta.outputs.tags }}
5454
labels: ${{ steps.meta.outputs.labels }}
5555
cache-from: type=gha
56-
cache-to: type=gha,mode=max
56+
cache-to: type=gha,mode=max
57+
58+
- name: Create GitHub Release (auto notes)
59+
uses: softprops/action-gh-release@v2
60+
with:
61+
tag_name: ${{ github.ref_name }}
62+
name: ${{ github.ref_name }}
63+
generate_release_notes: true

0 commit comments

Comments
 (0)