Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinMeierSonos committed Oct 16, 2023
1 parent 8383000 commit 917d3d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ RUN DEPENDABOT_NATIVE_HELPERS_PATH=dist ./build

FROM ruby:3.1.4-bullseye AS RUNNER

WORKDIR /usr/action

COPY Gemfile Gemfile.lock ./

# RUN gem install bundler && bundle install
Expand All @@ -19,6 +17,7 @@ COPY ./src/update-script.rb ./update-script.rb
COPY --from=base ./dist/ ./native-helpers
COPY --from=base /usr/local/bin/node /usr/local/bin/node

COPY ./entrypoint.sh ./entrypoint.sh

ARG REPO_NAME
ARG GITHUB_TOKEN
Expand All @@ -35,4 +34,5 @@ ENV REGISTRY=${REGISTRY}
ENV REGISTRY_TOKEN=${REGISTRY_TOKEN}

# CMD ["bundle", "exec", "ruby", "./update-script.rb"]
CMD ["ruby", "./update-script.rb"]
# CMD ["ruby", "./update-script.rb"]
ENTRYPOINT [ "./entrypoint.sh" ]
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

ruby ./update-script.rb

0 comments on commit 917d3d2

Please sign in to comment.