Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
b14c75f9c6 | |||
9d664404f5 | |||
1db8e3a50a | |||
68fb5d1b21 | |||
44d2b447ca | |||
b3b974942d | |||
0d14f451f3 | |||
6dd54fafd6 |
@@ -14,6 +14,18 @@ jobs:
|
|||||||
DOCKER_REGISTRY: registry.cn-hangzhou.aliyuncs.com
|
DOCKER_REGISTRY: registry.cn-hangzhou.aliyuncs.com
|
||||||
DOCKER_USERNAME: rsjst
|
DOCKER_USERNAME: rsjst
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- run: cat README.md
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
distribution: zulu
|
||||||
|
java-version: 11
|
||||||
|
|
||||||
|
- run: java -version
|
||||||
|
|
||||||
- name: Get Meta
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
@@ -23,11 +35,6 @@ jobs:
|
|||||||
|
|
||||||
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
|
|
||||||
- name: WeChat Work notification
|
- name: Notification
|
||||||
uses: seepine/action-wechat-work@master
|
if: ${{ secrets.BARK_TOKEN != '' }}
|
||||||
env:
|
run: curl 'https://api.day.app/${{ secrets.BARK_TOKEN }}/GiteaActions/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} build success.?icon=https://gitea.io/images/gitea.png&group=GiteaActions'
|
||||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
|
||||||
with:
|
|
||||||
msgtype: markdown
|
|
||||||
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
|
||||||
> 镜像:${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
|
Reference in New Issue
Block a user