Compare commits

..

1 Commits
v0.3 ... v0.4

Author SHA1 Message Date
bamanker
6d86a69c0b 版本号为tag 0
Some checks failed
Build Push and Deploy Image / build (push) Failing after 43s
2025-12-24 23:26:30 +08:00

View File

@@ -2,9 +2,9 @@ name: Build Push and Deploy Image
on:
push:
#tag 触发
tags:
- 'v*'
# #tag 触发
# tags:
# - 'v*'
# 分支触发
# branches:
# - main
@@ -35,7 +35,7 @@ jobs:
#检查java版本
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${{ env.TAG }}
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Check java version
run: java -version
- name: Show now path
@@ -67,7 +67,7 @@ jobs:
platforms: linux/amd64
file: Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get_version.outputs.VERSION }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:{{ steps.get_version.outputs.VERSION }}
- name: k8s Check and Apply New Deployment