Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add grafsy-client to docker image #22

Merged
merged 2 commits into from
Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ jobs:
name: packages
path: artifact

docker:
name: Build docker images
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
name: Checkout
- name: Build docker images
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git tag -m 'Test build' v0.0.0.1
make docker


install:
needs: build
name: Install packages
Expand Down
2 changes: 2 additions & 0 deletions docker/grafsy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ WORKDIR /grafsy

COPY --from=build /go/grafsy/build/grafsy_linux_x64 ./grafsy

COPY --from=build /go/grafsy/build/grafsy-client_linux_x64 ./grafsy-client

COPY docker/grafsy/entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
Expand Down