File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
2- RUN apk add --no-cache curl docker-cli
2+ RUN apk add --no-cache curl docker-cli jq
33COPY start-mongodb.sh /start-mongodb.sh
44RUN chmod +x /start-mongodb.sh
55ENTRYPOINT ["/start-mongodb.sh" ]
Original file line number Diff line number Diff line change 5858 - ${{ inputs.mongodb-username }}
5959 - ${{ inputs.mongodb-password }}
6060 - ${{ inputs.mongodb-container-name }}
61- env :
62- REPO_PRIVATE : ${{ github.event.repository.private }}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ MONGODB_CONTAINER_NAME=$8
1414UPSTREAM=" supercharge/mongodb-github-action"
1515ACTION_REPO=" ${GITHUB_ACTION_REPOSITORY:- } "
1616DOCS_URL=" https://docs.stepsecurity.io/actions/stepsecurity-maintained-actions"
17+ REPO_PRIVATE=$( jq -r ' .repository.private | tostring' " $GITHUB_EVENT_PATH " 2> /dev/null || echo " " )
1718
1819echo " "
1920echo -e " \033[1;36mStepSecurity Maintained Action\033[0m"
You can’t perform that action at this time.
0 commit comments