Skip to content

Commit

Permalink
RONDB-767: Make release build optional for ARM CI (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv authored Nov 13, 2024
1 parent b0719bd commit 0a2afb5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/publish_rondb.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Publish RonDB Tarball
on:
workflow_dispatch:
inputs:
release_build:
required: true
type: boolean
default: false
push:
branches:
- "21.04.[0-9]+"
Expand Down Expand Up @@ -54,12 +59,21 @@ jobs:
- name: Build RonDB Tarball
run: |
BUILD_CORES=$(nproc)
echo "Building RonDB tarball with $BUILD_CORES cores"
EXTRA_ARGS="--build-arg RELEASE_TARBALL=1"
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
if [ "${{ github.event.inputs.release_build }}" == "false" ]; then
EXTRA_ARGS=""
fi
fi
docker buildx build . \
-f Dockerfile.oraclelinux8 \
--target get-package-all \
--output . \
--build-arg BUILD_THREADS=$BUILD_CORES \
--build-arg RELEASE_TARBALL=1
$EXTRA_ARGS
ls -l
Expand Down

0 comments on commit 0a2afb5

Please sign in to comment.