Skip to content

Commit

Permalink
feat: added the ability to use git operations in the docker image (#1413
Browse files Browse the repository at this point in the history
)
  • Loading branch information
IgorKarpiuk authored Jan 29, 2024
1 parent cf2ac84 commit baddec0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-eagles-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@redocly/cli": patch
---

Added git to the docker image, so the push command can use git metadata.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN npm run prepare
# Install redocly-cli globally, similar to npm install --global @redocly/cli
# but the local package is used here
RUN apk update && apk add jq && \
apk add git && \
npm run pack:prepare && \
npm install --global redocly-cli.tgz

Expand Down

1 comment on commit baddec0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 76.19% 4306/5652
🟡 Branches 65.76% 2236/3400
🟡 Functions 68.81% 695/1010
🟡 Lines 76.4% 4049/5300

Test suite run success

699 tests passing in 100 suites.

Report generated by 🧪jest coverage report action from baddec0

Please sign in to comment.