File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
FROM ruby:3.2
3
3
4
4
# Set the working directory
5
- WORKDIR /app
5
+ WORKDIR /github/workspace
6
6
7
7
# Install MySQL client and development libraries
8
8
RUN apt-get update -qq && \
@@ -19,15 +19,15 @@ ENV ACCESS_TOKEN=$ACCESS_TOKEN
19
19
ENV REPO_FULL_NAME=$REPO_FULL_NAME
20
20
21
21
# Copy the Gemfile and Gemfile.lock
22
- COPY Gemfile* /app /
22
+ COPY Gemfile* . /
23
23
24
24
# Install dependencies
25
25
RUN bundle config set --local without 'development test' && \
26
26
bundle install --jobs $(nproc) --retry 3 && \
27
27
rm -rf /usr/local/bundle/cache/*.gem
28
28
29
29
# Copy the rest of the application
30
- COPY . /app/
30
+ COPY . .
31
31
32
32
# Run the migration and sync GitHub Repo Data scripts
33
33
CMD bundle exec rails runner "RetryableRake.db_create" && \
Original file line number Diff line number Diff line change 21
21
22
22
# Pass the inputs and secret values as environment variables to the Docker container
23
23
env :
24
- DATABASE_URL : ${{ inputs.database_url }}
25
- ACCESS_TOKEN : ${{ inputs.access_token }}
26
- REPO_FULL_NAME : ${{ inputs.repo_full_name }}
24
+ DATABASE_URL : ${{ inputs.database-url }}
25
+ ACCESS_TOKEN : ${{ inputs.access-token }}
26
+ REPO_FULL_NAME : ${{ inputs.repo-full-name }}
You can’t perform that action at this time.
0 commit comments