Added example how to read the Ruby version from the .ruby-version file.

This commit is contained in:
Igor Alexandrov
2024-10-12 21:27:56 +04:00
parent bf79c7192f
commit b4df51b8b4

View File

@@ -36,6 +36,9 @@ registry:
# Configure builder setup. # Configure builder setup.
builder: builder:
arch: amd64 arch: amd64
# Pass in additional build args needed for your Dockerfile.
# args:
# RUBY_VERSION: <%= File.read('.ruby-version').strip %>
# Inject ENV variables into containers (secrets come from .kamal/secrets). # Inject ENV variables into containers (secrets come from .kamal/secrets).
# #