Skip to content

Commit

Permalink
fixing bug where error matcher wasn't copied to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrashears5 committed May 12, 2021
1 parent e3f22f8 commit ec075e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN apk add jq
# add curl for pull requests via github api
RUN apk add curl

COPY error-matcher.json /error-matcher.json

COPY entrypoint.sh /entrypoint.sh

RUN chmod 777 entrypoint.sh
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ STATUS=0
trap 'STATUS=$?' ERR

# problem matcher must exist in workspace
cp /error-matcher.json $HOME/file-sync-error-matcher.json
echo "::add-matcher::$HOME/file-sync-error-matcher.json"
cp /error-matcher.json $HOME/issue-assigner-error-matcher.json
echo "::add-matcher::$HOME/issue-assigner-error-matcher.json"

echo "Repository: [$GITHUB_REPOSITORY]"

Expand Down

0 comments on commit ec075e3

Please sign in to comment.