Skip to content

Commit c156e6a

Browse files
committed
chore: update workflow only for tags
1 parent 6a97d56 commit c156e6a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/package.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: build image to gihub packages
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- "*"
47

58
env:
69
REGISTRY: ghcr.io

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ MacOS 打开 `日历`,左上角 `文件` - `新建日历订阅`,添加如下
2525

2626
自建订阅服务
2727
```bash
28-
docker pull ghcr.io/secbone/calendar:master
28+
docker pull ghcr.io/secbone/calendar
2929

30-
docker run -d -p [port]:80 ghcr.io/secbone/calendar:master
30+
docker run -d -p [port]:80 ghcr.io/secbone/calendar
3131
```
3232

3333
## Thanks

0 commit comments

Comments
 (0)