-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/tillson/git-hound
- Loading branch information
Showing
3 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Use the official Golang image as a parent image | ||
FROM golang:latest | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
|
||
# Install git-hound | ||
RUN git clone https://github.com/tillson/git-hound.git | ||
RUN cd git-hound && go build -o /usr/local/bin/git-hound | ||
|
||
# Copy the locally required files to the container | ||
COPY . . | ||
|
||
# Set up a directory for .githound | ||
RUN mkdir -p /root/.githound | ||
|
||
# Set up volume for input files | ||
VOLUME /data | ||
VOLUME /root/.githound | ||
|
||
# Set the default command for the container | ||
ENTRYPOINT ["git-hound"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Instructions: rename this file to config.yml. | ||
# DO NOT CHECK YOUR USERNAME AND PASSWORD INTO GIT! | ||
|
||
# Required | ||
github_username: "username" | ||
github_password: "your_password" | ||
|
||
# Optional (comment out if not using) | ||
# github_totp_seed: "ABCDEF1234567890" # Obtained via https://github.com/settings/security | ||
# github_totp_seed: "ABCDEF1234567890" # Obtained via https://github.com/settings/security |