Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5b1de075f | ||
|
|
24df5cd7d6 |
@@ -44,7 +44,8 @@ jobs:
|
|||||||
# 为其他配置文件注入环境变量
|
# 为其他配置文件注入环境变量
|
||||||
- name: Inject envVar
|
- name: Inject envVar
|
||||||
run: |
|
run: |
|
||||||
envsubst < ./deployment-temp.yml > ./deployment.yml
|
envsubst < ./deployment-temp.yml > ./deployment.yml &&
|
||||||
|
cat ./deployment.yml
|
||||||
|
|
||||||
# 构建java项目
|
# 构建java项目
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
@@ -77,7 +78,7 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
|
||||||
|
|
||||||
#发布到 k8s
|
#发布到 k8s
|
||||||
- name: k8s Check and Apply New Deployment
|
- name: k8s Check and Apply New Deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user