Skip to content

Commit 8415b3d

Browse files
committed
Fix dockerfile
1 parent 1a3c4fd commit 8415b3d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM ruby:3.2
33

44
# Set the working directory
5-
WORKDIR /app
5+
WORKDIR /github/workspace
66

77
# Install MySQL client and development libraries
88
RUN apt-get update -qq && \
@@ -19,15 +19,15 @@ ENV ACCESS_TOKEN=$ACCESS_TOKEN
1919
ENV REPO_FULL_NAME=$REPO_FULL_NAME
2020

2121
# Copy the Gemfile and Gemfile.lock
22-
COPY Gemfile* /app/
22+
COPY Gemfile* ./
2323

2424
# Install dependencies
2525
RUN bundle config set --local without 'development test' && \
2626
bundle install --jobs $(nproc) --retry 3 && \
2727
rm -rf /usr/local/bundle/cache/*.gem
2828

2929
# Copy the rest of the application
30-
COPY . /app/
30+
COPY . .
3131

3232
# Run the migration and sync GitHub Repo Data scripts
3333
CMD bundle exec rails runner "RetryableRake.db_create" && \

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ runs:
2121

2222
# Pass the inputs and secret values as environment variables to the Docker container
2323
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 }}

0 commit comments

Comments
 (0)