File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ ARG BUNDLE_PATH=vendor/bundle
1919ENV BUNDLE_PATH ${BUNDLE_PATH}
2020ENV BUNDLE_WITHOUT ${BUNDLE_WITHOUT}
2121
22+ ARG REVISION
23+ ENV REVISION=$REVISION
24+
2225RUN mkdir /app
2326WORKDIR /app
2427RUN mkdir -p tmp/pids
Original file line number Diff line number Diff line change 99module RubyDocs
1010 class Application < Rails ::Application
1111 config . load_defaults 7.0
12- config . revision = `git rev-parse --short HEAD 2> /dev/null` . chomp . presence ||
13- ENV [ "FLY_IMAGE_REF" ] &. then { _1 [ /@sha256:([0-9a-f]+)/ , 1 ] } or
12+ config . revision = ENV [ "REVISION" ] . presence ||
13+ `git rev-parse HEAD 2> /dev/null` . chomp . presence or
1414 raise "Could not determine revision."
1515
1616 config . action_mailer . delivery_method = :postmark
You can’t perform that action at this time.
0 commit comments