Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.
Merged

Dev #24

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 0 additions & 72 deletions .github/workflows/deploy.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/update-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:
run: |
cd k8s-config
NEW_IMAGE="ghcr.io/techtorque-2025/${SERVICE_NAME}:${{ steps.info.outputs.branch }}-${{ steps.info.outputs.sha }}"
export NEW_IMAGE

echo "🔄 Updating ${DEPLOYMENT_FILE} to use image: ${NEW_IMAGE}"

# Use yq --arg instead of env() so we don't need to export the variable; this is robust on GH runners
yq eval -i --arg new_image "${NEW_IMAGE}" \
'(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = $new_image' \
yq eval -i \
'(select(.kind == "Deployment") | .spec.template.spec.containers[0].image) = env(NEW_IMAGE)' \
k8s/services/${DEPLOYMENT_FILE}

echo "✅ Updated manifest:"
yq eval 'select(.kind == "Deployment") | .spec.template.spec.containers[0].image' k8s/services/${DEPLOYMENT_FILE}

- name: Commit and push changes
env:
SERVICE_NAME: "authentication"
Expand Down