fix: remove plaintext runner secret during migration
This commit is contained in:
parent
f475472c0e
commit
87a1c70fea
|
|
@ -405,9 +405,11 @@ migrate_gitea_runner_secret_file() {
|
|||
|
||||
rm -f "${tmp_file}"
|
||||
chmod 600 "${secret_file}"
|
||||
rm -f "${plain_file}"
|
||||
|
||||
echo "Created SOPS-encrypted Gitea runner secret at ${secret_file}."
|
||||
echo "Remove ${plain_file} from git after committing ${secret_file}."
|
||||
echo "Removed plaintext Gitea runner secret ${plain_file}."
|
||||
echo "Commit ${secret_file} and the ${plain_file} deletion after validating the deployment."
|
||||
}
|
||||
|
||||
apply_gitea_runner_secret_file() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue