actions脚本仓库迁移到gitee
This commit is contained in:
@@ -21,9 +21,9 @@ jobs:
|
||||
steps:
|
||||
# 下载仓库源码,依赖java环境,因此构建服务器本地需要下载安装java并设置环境变量
|
||||
- name: Checkout repository code
|
||||
uses: https://gitee.com/bamanker/checkout@v4
|
||||
uses: https://gitee.com/bamanker/checkout@v6
|
||||
- name: Set up Java
|
||||
uses: https://gitee.com/bamanker/setup-java@v1
|
||||
uses: https://gitee.com/bamanker/setup-java@v5
|
||||
with:
|
||||
java-version: '25.0.1'
|
||||
distribution: 'openjdk'
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
# 登录镜像仓库,方便后续上传镜像
|
||||
- name: Login to Docker Registry
|
||||
uses: https://gitee.com/bamanker/login-action@v2
|
||||
uses: https://gitee.com/bamanker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
# 构建并上传镜像
|
||||
- name: Build and push Docker image
|
||||
uses: https://gitee.com/bamanker/build-push-action@master
|
||||
uses: https://gitee.com/bamanker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user