Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
0d14f451f3 | |||
6dd54fafd6 | |||
b4cb324e8e |
@@ -14,6 +14,19 @@ 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
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
|
- run: java -version
|
||||||
|
|
||||||
- name: Get Meta
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
@@ -24,10 +37,11 @@ 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: WeChat Work notification
|
||||||
uses: seepine/action-wechat-work
|
uses: seepine/action-wechat-work@master
|
||||||
|
if: ${{ !secrets.WECHAT_WORK_BOT_WEBHOOK }}
|
||||||
env:
|
env:
|
||||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
|
||||||
with:
|
with:
|
||||||
msgtype: markdown
|
msgtype: markdown
|
||||||
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
|
||||||
> 镜像:${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
> 镜像: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"
|
Reference in New Issue
Block a user