diff --git a/.github/workflows/build-latest.yml b/.github/workflows/build-latest.yml index 391ed4dd..fe0ea89a 100644 --- a/.github/workflows/build-latest.yml +++ b/.github/workflows/build-latest.yml @@ -99,9 +99,9 @@ jobs: ### Release Artifacts | Release File | Description | | ------------- | ------------- | - | explorer_windows_amd64.exe | explorer executable for windows (64bit) | - | explorer_linux_amd64 | explorer executable for linux (64bit) | - | explorer_darwin_amd64 | explorer executable for macos (64bit) | + | [explorer_windows_amd64.exe](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_windows_amd64.exe) | explorer executable for windows (64bit) | + | [explorer_linux_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_linux_amd64) | explorer executable for linux (64bit) | + | [explorer_darwin_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_darwin_amd64) | explorer executable for macos (64bit) | env: GITHUB_TOKEN: ${{ github.token }} diff --git a/Dockerfile b/Dockerfile index 3233e32f..dfb17f9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,12 @@ WORKDIR /src RUN go mod download ADD . /src ARG target=linux -RUN make -B $target +RUN make $target # final stage -FROM alpine:latest +FROM debian:stable-slim WORKDIR /app -COPY --from=build-env /src/bin /app/ +COPY --from=build-env /src/bin/explorer_linux_amd64 /app COPY --from=build-env /src/config /app/config EXPOSE 8080 ENTRYPOINT ["./explorer_linux_amd64"]