Currently untrusted builds (builds initiated by for example PRs from users who don't have write access to this repo) are failing since they don't have access to encrypted environment variables to push to Docker Hub (see this). This adds a check so if it's an untrusted build, we don't try to push the image to Docker Hub or the helm repo.
Currently untrusted builds (builds initiated by for example PRs from users who don't have write access to this repo) are failing since they don't have access to encrypted environment variables to push to Docker Hub (see this). This adds a check so if it's an untrusted build, we don't try to push the image to Docker Hub or the helm repo.