fix gitea

This commit is contained in:
千里走单骑 2024-04-03 02:00:57 +08:00
parent b6cda93e35
commit 8ce1c79b77
1 changed files with 5 additions and 5 deletions
.gitea/workflows

View File

@ -1,5 +1,5 @@
name: CI
run-name: ${{ github.actor }} Gitea Actions 🚀🚀🚀
run-name: ${{ gitea.actor }} Gitea Actions 🚀🚀🚀
on:
push:
# Sequence of patterns matched against refs/heads
@ -33,7 +33,7 @@ jobs:
# npm --version
# which docker
# docker info
# echo ${{ github.token }}
# echo ${{ gitea.token }}
# echo ${{ env.GITOPS_URL }}
- name: 🔎拉取代码
@ -51,7 +51,7 @@ jobs:
# uses: https://${{ env.DOMAIN }}/actions/docker-build-push@v6
# with:
# image: ${{ gitea.repository }}
# tags: ${{ github.sha }}
# tags: ${{ gitea.sha }}
# registry: softyouling-docker.pkg.coding.net
# enableBuildKit: true
# # multiPlatform: true
@ -83,7 +83,7 @@ jobs:
email: "gitops@lntu.edu.cn"
name: "千里走单骑"
value: ${{ gitea.repository }}
tag: ${{ github.sha }}
tag: ${{ gitea.sha }}
url: ${{ env.DOMAIN }}/${{ secrets.GITOPS_REPO}}
filename: ${{ secrets.FILE_NAME }}
token: ${{ secrets.GITOPS_TOKEN }}
@ -103,4 +103,4 @@ jobs:
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
with:
msgtype: markdown
content: "✅ 应用版本更新成功\n > 🐬 镜像:\n > softyouling-docker.pkg.coding.net/code/demo/demo:${{ github.sha }}\n > 🍏 就能帮你到这了"
content: "✅ 应用版本更新成功\n > 🐬 镜像:\n > softyouling-docker.pkg.coding.net/code/demo/demo:${{ gitea.sha }}\n > 🍏 就能帮你到这了"