update v0.0.7
All checks were successful
Build And Test / build-and-push (push) Successful in 2m39s

This commit is contained in:
2025-10-22 17:54:13 +09:00
parent a10de7927c
commit c3c5200e4d
2 changed files with 5 additions and 6 deletions

View File

@ -65,10 +65,7 @@ jobs:
# cat kustomization.yaml # cat kustomization.yaml
- name: Update Kubernetes resources - name: Update Kubernetes resources
run: | run: |
cd cd-msa-django-ansible/overlays/dev/ cd cd-msa-django-ansible/overlays/dev/
echo "✅ Updating image tag..."
kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
echo "✅ Installing yq..." echo "✅ Installing yq..."
wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64 wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64
@ -76,7 +73,7 @@ jobs:
echo "✅ Updating container name in patch-deployment.yaml..." echo "✅ Updating container name in patch-deployment.yaml..."
VERSION="${{ steps.img-ver.outputs.content }}" VERSION="${{ steps.img-ver.outputs.content }}"
VERSION_SAFE=$(echo "$VERSION" | tr '.' '-') VERSION_SAFE=$(echo "$VERSION" | tr '.' 'd')
yq e -i ".spec.template.spec.containers[0].name = \"msa-django-ansible-${VERSION_SAFE}\"" patch-deployment.yaml yq e -i ".spec.template.spec.containers[0].name = \"msa-django-ansible-${VERSION_SAFE}\"" patch-deployment.yaml
@ -84,6 +81,8 @@ jobs:
cat patch-deployment.yaml cat patch-deployment.yaml
echo "✅ Final kustomization.yaml content:" echo "✅ Final kustomization.yaml content:"
echo "✅ Updating image tag..."
kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
cat kustomization.yaml cat kustomization.yaml

View File

@ -1 +1 @@
v0.0.6 v0.0.7