diff --git a/.buildkite/hooks/pre-exit b/.buildkite/hooks/pre-exit index fb4b5bc33..7535187a0 100755 --- a/.buildkite/hooks/pre-exit +++ b/.buildkite/hooks/pre-exit @@ -18,6 +18,9 @@ fi if [[ "$BUILDKITE_PIPELINE_SLUG" == "fleet-server-package-mbp" ]]; then if [[ "$BUILDKITE_STEP_KEY" == "package-x86-64" || "$BUILDKITE_STEP_KEY" == "package-arm" || "$BUILDKITE_STEP_KEY" == "dra-snapshot" && "$BUILDKITE_STEP_KEY" == "dra-staging" ]]; then unset GOOGLE_APPLICATIONS_CREDENTIALS + unset VAULT_ROLE_ID_SECRET + unset VAULT_ADDR_SECRET + unset VAULT_SECRET_ID_SECRET docker logout ${DOCKER_REGISTRY} cleanup fi