Skip to content

Commit

Permalink
fix: #1624 docker publish fail
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Jul 8, 2023
1 parent 1bfa853 commit 61bdc6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jreleaser/distributions/jbang/docker/Dockerfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ LABEL {{.}}

COPY assembly/* /

RUN jar xf {{distributionArtifactFileName}} && \
rm {{distributionArtifactFileName}} && \
RUN jar xf {{distributionArtifactFileName}}{{distributionArtifactFileExtension}} && \
rm {{distributionArtifactFileName}}{{distributionArtifactFileExtension}} && \
mv jbang-* jbang && \
chmod +x jbang/bin/jbang

Expand Down

0 comments on commit 61bdc6a

Please sign in to comment.