diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 289861c..d5da5f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/docker/grafsy/Dockerfile b/docker/grafsy/Dockerfile index f0d361a..2ac5c4e 100644 --- a/docker/grafsy/Dockerfile +++ b/docker/grafsy/Dockerfile @@ -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"]