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

This commit is contained in:
2025-10-22 11:28:32 +09:00
parent 0052ab2f15
commit 766a885171
2 changed files with 17 additions and 17 deletions

View File

@ -58,30 +58,30 @@ jobs:
token: ${{ secrets.ACTION_TOKEN }}
path: cd-msa-django-ansible
- name: Update Kubernetes resources
run: |
cd cd-msa-django-ansible/overlays/dev/
kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
cat kustomization.yaml
# - name: Update Kubernetes resources
# run: |
# 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 }}
# cat kustomization.yaml
- name: Update Kubernetes resources
run: |
cd cd-msa-django-ansible/overlays/dev/
# echo "✅ Installing yq..."
# wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64
# chmod +x /usr/local/bin/yq
echo "✅ Updating image tag..."
kustomize edit set image harbor.icurfer.com/msa-demo/msa-django-ansible:${{ steps.img-ver.outputs.content }}
# echo "✅ Updating container name in patch-deployment.yaml..."
# yq e -i '.spec.template.spec.containers[0].name = "msa-django-ansible-${{ steps.img-ver.outputs.content }}"' patch-deployment.yaml
echo "✅ Installing yq..."
wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64
chmod +x /usr/local/bin/yq
# echo "✅ Final patch-deployment.yaml content:"
# cat patch-deployment.yaml
echo "✅ Updating container name in patch-deployment.yaml..."
yq e -i '.spec.template.spec.containers[0].name = "msa-django-ansible-${{ steps.img-ver.outputs.content }}"' patch-deployment.yaml
# echo "✅ Final kustomization.yaml content:"
# cat kustomization.yaml
echo "✅ Final patch-deployment.yaml content:"
cat patch-deployment.yaml
echo "✅ Final kustomization.yaml content:"
cat kustomization.yaml
## cd commit

View File

@ -1 +1 @@
v0.0.4-r2
v0.0.5