Skip to content

Commit 86a6fde

Browse files
committed
setup for next release
1 parent 080c1e4 commit 86a6fde

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.github/workflows/docker.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
permissions:
18-
contents: read
18+
contents: write
1919
packages: write
2020

2121
steps:
@@ -55,3 +55,33 @@ jobs:
5555
labels: ${{ steps.meta.outputs.labels }}
5656
cache-from: type=gha
5757
cache-to: type=gha,mode=max
58+
59+
- name: Create GitHub Release
60+
if: startsWith(github.ref, 'refs/tags/v')
61+
uses: softprops/action-gh-release@v1
62+
with:
63+
body: |
64+
## 🛠️ Quick Start
65+
66+
### Prerequisites
67+
- Docker installed on your system
68+
69+
### Installation
70+
71+
```bash
72+
# Pull the image
73+
docker pull ghcr.io/gcclinux/easyscheduler:latest
74+
# or
75+
docker pull ghcr.io/gcclinux/easyscheduler:${{ github.ref_name }}
76+
77+
# Run the container
78+
docker run --name "easyscheduler" -d -p 80:5000 -v scheduler-data:/app/data ghcr.io/gcclinux/easyscheduler:latest
79+
```
80+
81+
### Access Points
82+
- **Website**: http://localhost
83+
- **Admin Panel**: http://localhost/#/admin
84+
- **Scheduler**: http://localhost/#/easyscheduler
85+
generate_release_notes: false
86+
env:
87+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)