Skip to content

Commit 43ec476

Browse files
fix(ci): correct helm tree hash source
1 parent edf5c34 commit 43ec476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/k8s-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ jobs:
125125
126126
- name: Deploy instance via Helm template
127127
run: |
128-
docker_image="${DOCKER_REGISTRY}/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}:${RELEASE_NAME}"
129128
release_hostname="${RELEASE_NAME}.${KUBE_HOSTNAME}"
130129
130+
echo "Ensuring current context is namespace ${KUBE_NAMESPACE}"
131131
kubectl config set-context --current --namespace="${KUBE_NAMESPACE}"
132132
133133
echo "Listing pods existing before deploy"
@@ -139,7 +139,7 @@ jobs:
139139
140140
echo "Extracting projected helm-chart to temporary directory"
141141
temp_dir=$(mktemp -d)
142-
git archive --format=tar "${{ steps.site-projection.outputs.tree }}" | ( cd "${temp_dir}" && tar -xf - )
142+
git archive --format=tar "${{ steps.helm-projection.outputs.tree }}" | ( cd "${temp_dir}" && tar -xf - )
143143
144144
echo "Using helm upgrade to apply helm-chart to release ${RELEASE_NAME}"
145145
helm upgrade "${RELEASE_NAME}" "${temp_dir}" \

0 commit comments

Comments
 (0)