Compare commits

..

3 Commits

Author SHA1 Message Date
bamanker
a9a18c13b6 修改action 版本
Some checks failed
Build Push and Deploy Image / build (push) Failing after 7m0s
2025-12-30 15:55:50 +08:00
bamanker
b0e021e0a0 修改node24镜像
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m6s
2025-12-30 15:45:53 +08:00
bamanker
58ecbced00 action checkout 修改为v4
Some checks failed
Build Push and Deploy Image / build (push) Failing after 2m21s
2025-12-30 15:37:39 +08:00

View File

@@ -21,7 +21,7 @@ env:
# 构建 Job
jobs:
build:
runs-on: ubuntu-node # 如果host构建 linux_amd64
runs-on: ubuntu-node24 # 如果host构建 linux_amd64
steps:
- name: Print system info 1
run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event."
@@ -43,7 +43,7 @@ jobs:
- name: Checkout repository code
#使用自定义仓库action
uses: http://139.9.216.111:3000/bamanker/checkout@v6
uses: http://139.9.216.111:3000/bamanker/checkout@v4
# 获取 TAG 并设置为环境变量
- name: Get version
@@ -68,7 +68,7 @@ jobs:
# 构建java项目
- name: Set up Java
uses: http://139.9.216.111:3000/bamanker/setup-java@v5
uses: http://139.9.216.111:3000/bamanker/setup-java@v3
with:
distribution: 'graalvm'
java-version: '25.0.1'
@@ -95,7 +95,7 @@ jobs:
# 构建并上传镜像
- name: Build and push Docker image
uses: http://139.9.216.111:3000/bamanker/build-push-action@v6 # 获取上一步截取到的版本号,既 1.0.0
uses: http://139.9.216.111:3000/bamanker/build-push-action@v4 # 获取上一步截取到的版本号,既 1.0.0
#只能这样接收
env:
TAG: ${{ steps.set_envar.outputs.tag }}