Skip to content

Commit

Permalink
sha env must be set here as well?
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Jan 26, 2025
1 parent fc30001 commit 92c4b49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/plug/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ FROM ${REGISTRY}yettoapp/base-ruby:main AS language
ONBUILD ARG APP_ENV
ONBUILD ENV RAILS_ENV=${APP_ENV:-development}

ONBUILD ARG GIT_SHA
ONBUILD ENV GIT_SHA=$GIT_SHA

RUN \

Check warning on line 14 in app/plug/ruby/Dockerfile

View workflow job for this annotation

GitHub Actions / run-matrix (app/plug/ruby/Dockerfile)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$RAILS_ENV' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
# Mount Apt cache and lib directories from Docker buildx caches
--mount=type=cache,id=apt-cache-${RAILS_ENV},target=/var/cache/apt,sharing=locked \
Expand Down

0 comments on commit 92c4b49

Please sign in to comment.