Need linebreaks for multiple spec

This commit is contained in:
斟酌 鵬兄 2024-11-01 05:15:51 +08:00
parent a74f588640
commit cb6109876a
2 changed files with 2 additions and 2 deletions

View File

@ -19,5 +19,5 @@ run:
- | - |
VERSION=$( cat commit.sha ) VERSION=$( cat commit.sha )
cat k8s/configmap.yaml >> deploy-confs/prod.yaml cat k8s/configmap.yaml >> deploy-confs/prod.yaml
echo "---" echo -e "\n---\n"
sed "s/IMAGE_TAG/$VERSION/g" k8s/deployments.yaml >> deploy-confs/prod.yaml sed "s/IMAGE_TAG/$VERSION/g" k8s/deployments.yaml >> deploy-confs/prod.yaml

View File

@ -1,5 +1,5 @@
kind: ConfigMap
apiVersion: v1 apiVersion: v1
kind: ConfigMap
metadata: metadata:
name: astrojs-nginx-ctmpls name: astrojs-nginx-ctmpls
namespace: default namespace: default