File tree Expand file tree Collapse file tree 6 files changed +11
-4
lines changed Expand file tree Collapse file tree 6 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 6464 # options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
6565 steps :
6666 - name : Install packages
67- run : sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips libsqlite3-0
67+ run : sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips
6868
6969 - name : Checkout code
7070 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 88
99# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
1010ARG RUBY_VERSION=your-ruby-version
11- FROM docker.io/library/ruby:$RUBY_VERSION-slim as base
11+ FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
1212
1313# Rails app lives here
1414WORKDIR /rails
@@ -25,7 +25,7 @@ ENV RAILS_ENV="production" \
2525 BUNDLE_WITHOUT="development"
2626
2727# Throw-away build stage to reduce size of final image
28- FROM base as build
28+ FROM base AS build
2929
3030# Install packages needed to build gems
3131RUN apt-get update -qq && \
Original file line number Diff line number Diff line change 11source "https://rubygems.org"
22
33# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4- gem "rails" , "~> 7.2.0.beta2 "
4+ gem "rails" , "~> 7.2.0.beta3 "
55# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
66gem "sprockets-rails"
77# Use sqlite3 as the database for Active Record
Original file line number Diff line number Diff line change 3737 # Don't care if the mailer can't send.
3838 config . action_mailer . raise_delivery_errors = false
3939
40+ # Disable caching for Action Mailer templates even if Action Controller
41+ # caching is enabled.
4042 config . action_mailer . perform_caching = false
4143
4244 config . action_mailer . default_url_options = { host : "localhost" , port : 3000 }
Original file line number Diff line number Diff line change 5050
5151 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
5252 config . force_ssl = true
53+
5354 # Skip http-to-https redirect for the default health check endpoint.
5455 # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
5556
7374 # config.active_job.queue_adapter = :resque
7475 # config.active_job.queue_name_prefix = "railsdiff_production"
7576
77+ # Disable caching for Action Mailer templates even if Action Controller
78+ # caching is enabled.
7679 config . action_mailer . perform_caching = false
7780
7881 # Ignore bad email addresses and do not raise email delivery errors.
Original file line number Diff line number Diff line change 3434 # Store uploaded files on the local file system in a temporary directory.
3535 config . active_storage . service = :test
3636
37+ # Disable caching for Action Mailer templates even if Action Controller
38+ # caching is enabled.
3739 config . action_mailer . perform_caching = false
3840
3941 # Tell Action Mailer not to deliver emails to the real world.
You can’t perform that action at this time.
0 commit comments