diff --git a/action.yml b/action.yml index 6ea3bc2..d412dcb 100644 --- a/action.yml +++ b/action.yml @@ -53,4 +53,7 @@ runs: else git checkout -b latest fi + sed -i -E "s/image: (.*):.*/image: \1:${{ steps.get_hash.outputs.sha_short }}/" deployment.yaml + git add deployment.yaml + git commit -m "auto: set image tag in deployment" git push origin latest