提交 401cd68f 作者: 余乾开

feat(github action):commit deploy

上级 f79f9b96
......@@ -83,13 +83,20 @@ jobs:
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash /dev/stdin 3.8.6
./kustomize edit set image REGISTRY/NAMESPACE/IMAGE:TAG=$REGISTRY/$NAMESPACE/$IMAGE:$TAG
- name: Commit files
run: |
git config --local user.email "986022405@qq.com"
git config --local user.name "qiankaiyu"
git commit -am "Image Update"
- uses: actions/checkout@v3
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "generated Image update"
git push
#- name: Commit files
# run: |
# git config --local user.email "986022405@qq.com"
# git config --local user.name "qiankaiyu"
# git commit -am "Image Update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
#- name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论