Skip to content

Commit

Permalink
Adding job in github workflow to build RDS image
Browse files Browse the repository at this point in the history
This is related to issue : https://github.intuit.com/oss-analytics/AIOps-project/issues/186

Signed-off-by: Saisharath Reddy Kondakindi <srsharathreddy@gmail.com>
Signed-off-by: skondakindi <saisharathreddy_kondakindi@intuit.com>
  • Loading branch information
skondakindi committed Jul 3, 2024
1 parent 2a44312 commit 604fde6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,30 @@ jobs:
image_name="${QUAYIO_ORG}/numalogic/udf:${tag}"
docker buildx build --platform ${PLATFORM} --build-arg INSTALL_EXTRAS='redis druid' --output "type=image,push=true" . -t $image_name
- name: Docker RDS Build
env:
QUAYIO_ORG: quay.io/numaio
PLATFORM: linux/x86_64
TARGET: numalogic/udf
TAG_SUFFIX: ${{ inputs.extra_tag }}
run: |
type=$(basename $(dirname $GITHUB_REF))
tag=$(basename $GITHUB_REF)
if [[ $type == "heads" ]]; then
tag="$(basename $GITHUB_REF)v${{ env.version }}"
fi
echo "Tag: $tag"
echo "Type: $type"
echo "Tag suffix: $TAG_SUFFIX"
if [[ -n $TAG_SUFFIX ]]; then
tag="$(basename $GITHUB_REF)-rds-${TAG_SUFFIX}"
fi
image_name="${QUAYIO_ORG}/numalogic/udf:${tag}"
docker buildx build --platform ${PLATFORM} --build-arg INSTALL_EXTRAS='redis rds' --output "type=image,push=true" . -t $image_name

0 comments on commit 604fde6

Please sign in to comment.