Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tasso94 committed Jul 18, 2023
1 parent 5e3b6ee commit 8804339
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
EE=${EE:-false}
SNAPSHOT=${SNAPSHOT:-false}

# evaluate if the version argument must be passed
if [ -z "$VERSION" ]; then
VERSION_ARGUMENT=""
else
VERSION_ARGUMENT="--build-arg VERSION=${VERSION}"
fi

IMAGE_NAME=camunda/camunda-bpm-platform:${DISTRO}-${PLATFORM}

docker buildx build . \
Expand All @@ -20,7 +13,7 @@ docker buildx build . \
--build-arg USER=${NEXUS_USER} \
--build-arg PASSWORD=${NEXUS_PASS} \
--build-arg SNAPSHOT=${SNAPSHOT} \
${VERSION_ARGUMENT} \
--build-arg VERSION=${VERSION} \
--cache-to type=gha,scope="$GITHUB_REF_NAME-$DISTRO-image" \
--cache-from type=gha,scope="$GITHUB_REF_NAME-$DISTRO-image" \
--load
Expand Down

0 comments on commit 8804339

Please sign in to comment.