diff --git a/.github/workflows/kava-build.yml b/.github/workflows/kava-build.yml index 9a83343..1a12320 100644 --- a/.github/workflows/kava-build.yml +++ b/.github/workflows/kava-build.yml @@ -50,9 +50,9 @@ jobs: os: "linux" arch: "amd64" - - version: "0.15.2" + - version: "0.15.0" go_version: "1.13" - binary: "kavad" + binary: "kvd" - version: "0.17.1" go_version: "1.17" diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 1d7d4cc..bab0636 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -79,14 +79,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ export COMMIT=GIT_COMMIT="$(git log -1 --format='%h')" && \ export VERSION=GIT_VERSION="$(git describe --tags --dirty --always)" && \ export DENOM=${DENOM:-"u$(echo ${APP_NAME} | head -c 4)"} && \ - export GOWORK=off -# eval ${BUILD_COMMAND} - -# # verify static binary -# RUN set -x && \ -# file ${GOPATH}/bin/${BIN_NAME} && \ -# echo "Ensuring binary is statically linked ..." && \ -# (file ${GOPATH}/bin/${BIN_NAME} | grep "statically linked") + export GOWORK=off && \ + eval ${BUILD_COMMAND} + +# verify static binary +RUN set -x && \ + file ${GOPATH}/bin/${BIN_NAME} && \ + echo "Ensuring binary is statically linked ..." && \ + (file ${GOPATH}/bin/${BIN_NAME} | grep "statically linked") ################################################################################ FROM --platform=${BUILDPLATFORM} alpine:latest as prod