全部修改为gitea actions地址
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
steps:
|
||||
# 下载仓库源码,依赖java环境,因此构建服务器本地需要下载安装java并设置环境变量
|
||||
- name: Checkout repository code
|
||||
uses: http://139.9.216.111:3000/bamanker/checkout@v5
|
||||
uses: http://139.9.216.111:3000/bamanker/checkout@v6
|
||||
# - name: Set up Java
|
||||
# uses: https://gitee.com/bamanker/setup-java@v5
|
||||
# with:
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
# 登录镜像仓库,方便后续上传镜像
|
||||
- name: Login to Docker Registry
|
||||
uses: https://gitee.com/bamanker/login-action@v3
|
||||
uses: http://139.9.216.111:3000/bamanker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
|
||||
# 构建并上传镜像
|
||||
- name: Build and push Docker image
|
||||
uses: https://gitee.com/bamanker/build-push-action@v6
|
||||
uses: http://139.9.216.111:3000/bamanker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
@@ -64,13 +64,13 @@ jobs:
|
||||
|
||||
|
||||
- name: k8s Check and Apply New Deployment
|
||||
uses: https://gitee.com/bamanker/kubectl@master
|
||||
uses: http://139.9.216.111:3000/bamanker/kubectl@master
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
args: apply -f http://${{ secrets.DEVOPS_GITEA_TOKEN }}@/bamanker/myk3sTest/src/branch/master/.deploy/deployment.yml
|
||||
- name: k8s Update Deployment
|
||||
uses: https://gitee.com/bamanker/kubectl@master
|
||||
uses: http://139.9.216.111:3000/bamanker/kubectl@master
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user