Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yanavasileva committed Jul 13, 2023
1 parent 182a135 commit 47ae74d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:3.15 as builder

ARG VERSION
ARG VERSION=7.19.0
ARG DISTRO=tomcat
ARG SNAPSHOT
ARG SNAPSHOT=false

ARG EE=false
ARG USER
Expand Down Expand Up @@ -32,7 +32,7 @@ RUN /tmp/download.sh

FROM alpine:3.15

ARG VERSION
ARG VERSION=7.19.0

ENV CAMUNDA_VERSION=${VERSION}
ENV DB_DRIVER=
Expand Down
3 changes: 3 additions & 0 deletions pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
EE=${EE:-false}
IMAGE_NAME=camunda/camunda-bpm-platform:${DISTRO}-${PLATFORM}


docker buildx build . \
-t "${IMAGE_NAME}" \
--platform linux/${PLATFORM} \
--build-arg DISTRO=${DISTRO} \
--build-arg EE=${EE} \
--build-arg VERSION=${VERSION} \
--build-arg SNAPSHOT=${SNAPSHOT}
--build-arg USER=${NEXUS_USER} \
--build-arg PASSWORD=${NEXUS_PASS} \
--cache-to type=gha,scope="$GITHUB_REF_NAME-$DISTRO-image" \
Expand Down

0 comments on commit 47ae74d

Please sign in to comment.