Skip to content

Commit

Permalink
Merge pull request #22 from leoleovich/client-docker
Browse files Browse the repository at this point in the history
Add grafsy-client to docker image
  • Loading branch information
Felixoid committed Aug 4, 2020
2 parents 9ed51c7 + 0349ae4 commit 5b0a6c7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
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 "you@example.com"
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

0 comments on commit 5b0a6c7

Please sign in to comment.