Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Jul 18, 2024
1 parent c216443 commit 80d4c2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,3 @@ jobs:
tags: |
${{ inputs.image }}:latest
${{ inputs.image }}:${{ inputs.version }}
build-args: |
VERSION=${{ inputs.version }}
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM amazoncorretto:11-alpine AS build

ARG VERISON

WORKDIR /app

COPY . .
Expand All @@ -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/

Expand Down

0 comments on commit 80d4c2d

Please sign in to comment.