diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d240b60d14..5d7caae12a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -82,5 +82,3 @@ jobs: tags: | ${{ inputs.image }}:latest ${{ inputs.image }}:${{ inputs.version }} - build-args: | - VERSION=${{ inputs.version }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5d96e4285e..9f038a31fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM amazoncorretto:11-alpine AS build -ARG VERISON - WORKDIR /app COPY . . @@ -11,7 +9,7 @@ RUN apk update \ && apk add apache-ant bash \ && ant realclean \ && mkdir -p build lib \ - && ant -Dversion=$VERSION maven-declare-dependencies artifacts \ + && ant -Drelease=true artifacts \ && bash ./SCYLLA-VERSION-GEN \ && cp build/SCYLLA-* build/dist/