Compare commits

...

11 Commits
v0.5 ... v0.75

Author SHA1 Message Date
bamanker
366c38401e debug4
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m13s
2025-12-25 11:27:04 +08:00
bamanker
b09e99e348 debug3
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m43s
2025-12-25 11:14:37 +08:00
bamanker
644d75b828 debug2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 0s
2025-12-25 11:09:50 +08:00
bamanker
9136396673 debug
All checks were successful
Build Push and Deploy Image / build (push) Successful in 26s
2025-12-25 10:34:20 +08:00
bamanker
d1a8a63579 修改了deployment.yml文件111
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21s
2025-12-25 10:17:25 +08:00
bamanker
5afbb5e642 修改了deployment.yml文件11
All checks were successful
Build Push and Deploy Image / build (push) Successful in 23s
2025-12-25 10:14:04 +08:00
bamanker
dbf588a8d1 修改了deployment.yml文件1
Some checks failed
Build Push and Deploy Image / build (push) Failing after 48s
2025-12-25 10:05:56 +08:00
bamanker
b365bf356a 修改了deployment.yml文件
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m6s
2025-12-25 09:31:35 +08:00
bamanker
8f782c8327 版本号为tag 0000000
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m44s
2025-12-25 00:10:20 +08:00
bamanker
a92abc0425 版本号为tag 00000
Some checks failed
Build Push and Deploy Image / build (push) Failing after 14s
2025-12-24 23:57:34 +08:00
bamanker
2c7953a17e 版本号为tag 000
Some checks failed
Build Push and Deploy Image / build (push) Failing after 0s
2025-12-24 23:54:25 +08:00
2 changed files with 17 additions and 15 deletions

View File

@@ -35,7 +35,9 @@ jobs:
#检查java版本 #检查java版本
- name: Get version - name: Get version
id: get_version id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} # e.g. refs/tags/v1.0.0
run: |
echo "version=${GITHUB_REF/refs\/tags\/v}" >> $GITHUB_OUTPUT
- name: Check java version - name: Check java version
run: java -version run: java -version
- name: Show now path - name: Show now path
@@ -61,25 +63,27 @@ jobs:
# 构建并上传镜像 # 构建并上传镜像
- name: Build and push Docker image - name: Build and push Docker image
uses: http://139.9.216.111:3000/bamanker/build-push-action@v6 uses: http://139.9.216.111:3000/bamanker/build-push-action@v6 # 获取上一步截取到的版本号,既 1.0.0
env:
TAG: ${{ steps.get_version.outputs.version }}
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64
file: Dockerfile file: Dockerfile
push: true push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:{{ steps.get_version.outputs.VERSION }} tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
- name: k8s Check and Apply New Deployment - name: k8s Check and Apply New Deployment
uses: http://139.9.216.111:3000/bamanker/kubectl@master uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with: with:
args: apply -f http://${{ secrets.DEVOPS_GITEA_TOKEN }}@/bamanker/myk3sTest/src/branch/master/.deploy/deployment.yml config: ${{ secrets.KUBE_CONFIG }}
- name: k8s Update Deployment command: get pods
uses: http://139.9.216.111:3000/bamanker/kubectl@master ## args: apply -f http://${{ secrets.DEVOPS_GITEA_TOKEN }}@/bamanker/myk3sTest/src/branch/master/.deploy/deployment.yml
env: # - name: k8s Update Deployment
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} # uses: http://139.9.216.111:3000/bamanker/kubectl@master
with: # env:
args: rollout restart deployment ${{ env.CONTAINER_NAME }}-${{ gitea.ref_name }} # KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
# with:
# args: rollout restart deployment ${{ env.CONTAINER_NAME }}-${{ gitea.ref_name }}

View File

@@ -66,8 +66,6 @@
<configuration> <configuration>
<source>25</source> <source>25</source>
<target>25</target> <target>25</target>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>