Skip to content

Commit

Permalink
Merge pull request #5 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 50384f7 + 3dc0817 commit 7a3bf4c
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 7a3bf4c

Please sign in to comment.