File tree Expand file tree Collapse file tree 3 files changed +13
-21
lines changed Expand file tree Collapse file tree 3 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - ' *'
77
8+ # for the publish job
9+ permissions :
10+ contents : write
11+
812jobs :
913 verify_version :
1014 runs-on : ubuntu-latest
5054 steps :
5155 - uses : actions/checkout@v4
5256 - name : Publish
53- env :
54- GITHUB_TOKEN : ${{ secrets.MY_GITHUB_TOKEN }}
55- run : |
56- /bin/bash -c "./tasks publish"
57+ uses : softprops/action-gh-release@v2
58+ with :
59+ repository : kudulab/docker-ops
60+ token : ${{ secrets.MY_GITHUB_TOKEN }}
61+ files : src/docker-ops
Original file line number Diff line number Diff line change 1+ ### 2.1.1 (2025-Apr-23)
2+
3+ * fix github release
4+
15### 2.1.0 (2025-Apr-23)
26
37* add an option to set docker platform while building a docker image (https://docs.docker.com/reference/cli/docker/buildx/build/#platform )
Original file line number Diff line number Diff line change @@ -39,23 +39,6 @@ case "${command}" in
3939 releaser::verify_release_ready
4040 releaser::git_tag_from_changelog
4141 ;;
42- publish)
43- # publish the just released version
44- VERSION=$( releaser::get_last_git_tagged_version)
45- releaser::prepare_github_release_bin
46- $GHRELEASE_BIN release \
47- --user kudulab \
48- --repo docker-ops \
49- --tag $VERSION \
50- --name $VERSION
51-
52- $GHRELEASE_BIN upload \
53- --user kudulab \
54- --repo docker-ops \
55- --tag $VERSION \
56- --name " docker-ops" \
57- --file src/docker-ops
58- ;;
5942 * )
6043 echo " Invalid command: '${command} '"
6144 exit 1
You can’t perform that action at this time.
0 commit comments