Skip to content

Commit

Permalink
Merge pull request #4 from shaneknapp/update-workflow-hub-deploy
Browse files Browse the repository at this point in the history
updating deploy workflow with fix
  • Loading branch information
shaneknapp authored Sep 9, 2024
2 parents b5fdaf4 + a22213b commit 5306df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-push-image-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
for deployment in $(grep -lr ${IMAGE} deployments/ | grep hubploy.yaml); do
old_hash=$(grep ${IMAGE} ${deployment} | awk -F":" '{print $3}')
new_hash=${IMAGE_TAG}
sed -i -e "s/${old_hash}/${new_hash}/g" ${deployment}
sed -i -e "s,${IMAGE}:${old_hash},${IMAGE}:${new_hash},g" ${deployment}
echo "Updated ${deployment} with new image tag ${new_hash}"
done
Expand Down

0 comments on commit 5306df0

Please sign in to comment.