Skip to content

Commit

Permalink
chore(amazonlinux2) place amazonlinux2 assets in a separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Jun 25, 2020
1 parent d25c81d commit 716f385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fpm-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ elif [ "$RESTY_IMAGE_BASE" == "rhel" ]; then
elif [ "$RESTY_IMAGE_BASE" == "amazonlinux" ]; then
PACKAGE_TYPE="rpm"
FPM_PARAMS="-d pcre -d perl -d perl-Time-HiRes"
OUTPUT_FILE_SUFFIX=".aws${RESTY_IMAGE_TAG}"
OUTPUT_FILE_SUFFIX=".aws"
fi
if [ "$RESTY_IMAGE_TAG" == "bullseye" ]; then
FPM_PARAMS="-d libpcre3 -d perl -d zlib1g-dev"
Expand Down
3 changes: 3 additions & 0 deletions release-kong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ elif [ "$RESTY_IMAGE_BASE" == "src" ]; then
OUTPUT_FILE_SUFFIX=".tar.gz"
curl -L https://github.com/Kong/kong/archive/$KONG_VERSION.tar.gz -o output/$KONG_PACKAGE_NAME-$KONG_VERSION$OUTPUT_FILE_SUFFIX
fi
if [ "$RESTY_IMAGE_BASE" == "amazonlinux" ] && [ "$RESTY_IMAGE_TAG" == "2" ]; then
BINTRAY_DIRECTORY="amazonlinux/amazonlinux2"
fi

if [ "$RELEASE_DOCKER_ONLY" == "true" ]; then
exit 0
Expand Down

0 comments on commit 716f385

Please sign in to comment.