From 453fea6c4538538fac8fcbdf8e83b6f47e62f404 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 11 Jan 2023 17:43:28 +0100 Subject: [PATCH] Don't rely on ERB interpolation that might fail Error message isn't good --- lib/tasks/mrsk/templates/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/mrsk/templates/deploy.yml b/lib/tasks/mrsk/templates/deploy.yml index bd81d420..af3fa2d4 100644 --- a/lib/tasks/mrsk/templates/deploy.yml +++ b/lib/tasks/mrsk/templates/deploy.yml @@ -19,5 +19,5 @@ registry: # server: registry.digitalocean.com / ghcr.io / ... # Set credentials with rake credentials:edit - username: <%= Rails.application.credentials.registry["username"] %> - password: <%= Rails.application.credentials.registry["password"] %> + username: my-user + password: my-password-should-go-in-credentials