We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a5539d commit b0a495fCopy full SHA for b0a495f
.github/workflows/build_and_test_cosmian_vm.yml
@@ -62,6 +62,15 @@ jobs:
62
with:
63
credentials_json: ${{ secrets.GOOGLE_COSMIAN_DEV_CREDENTIALS }}
64
65
+ - name: Clean SSH keys
66
+ if: success() || failure()
67
+ run: |-
68
+ # https://github.com/kyma-project/test-infra/issues/93#issuecomment-457263589
69
+ for i in $(gcloud compute os-login ssh-keys list | grep -v FINGERPRINT); do \
70
+ echo "Removing ssh key: $i"; \
71
+ gcloud compute os-login ssh-keys remove --key $i || true; \
72
+ done
73
+
74
- name: Build GCP images - main
75
env:
76
TIMESTAMP: ${{ steps.env.outputs.TIMESTAMP }}
0 commit comments