Skip to content

Commit

Permalink
Merge pull request #16 from actionshub/fix-link
Browse files Browse the repository at this point in the history
fix: Link COPY to reduce layer diff size
  • Loading branch information
damacus committed Nov 23, 2023
2 parents 1e1498b + 7bf9e27 commit b287ebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ruby:3.2.2-alpine3.18

COPY --chmod=750 entrypoint.sh /
COPY Gemfile Gemfile.lock /
COPY --link --chmod=750 entrypoint.sh /
COPY --link Gemfile Gemfile.lock /

RUN apk add --no-cache git bash \
&& bundle install
Expand Down
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
name: "publish-gem-to-rubygems"
author: "Dan Webb"
description: "Run publish Gems to Rubygems"
description: "Publishes Gems to Rubygems"
runs:
using: "docker"
image: docker://ghcr.io/actionshub/publish-gem-to-rubygems:v2.0.1
image: docker://ghcr.io/actionshub/publish-gem-to-rubygems:v2.0.2
inputs:
token:
description: "RubyGems API Key"
required: true
branding:
icon: "edit-3"
color: "red"

0 comments on commit b287ebb

Please sign in to comment.