π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: Fixed aio build (#5056)
Manish Guptab7d792ed0725
diff --git a/.github/workflows/build-aio-branch.yml b/.github/workflows/build-aio-branch.ymlindex de68d4b96d..8e28fe0d44 100644--- a/.github/workflows/build-aio-branch.yml+++ b/.github/workflows/build-aio-branch.yml@@ -31,6 +31,7 @@ jobs:runs-on: ubuntu-latestoutputs:gh_branch_name: ${{ steps.set_env_variables.outputs.TARGET_BRANCH }}+ flat_branch_name: ${{ steps.set_env_variables.outputs.FLAT_BRANCH_NAME }}gh_buildx_driver: ${{ steps.set_env_variables.outputs.BUILDX_DRIVER }}gh_buildx_version: ${{ steps.set_env_variables.outputs.BUILDX_VERSION }}gh_buildx_platforms: ${{ steps.set_env_variables.outputs.BUILDX_PLATFORMS }}@@ -56,7 +57,7 @@ jobs:echo "BUILDX_PLATFORMS=linux/amd64" >> $GITHUB_OUTPUTecho "BUILDX_ENDPOINT=" >> $GITHUB_OUTPUT- if [ "${{ github.event.inputs.base_tag_name }}" != "" ]; then+ if [ "${{ github.event_name}}" == "workflow_dispatch" ] && [ "${{ github.event.inputs.base_tag_name }}" != "" ]; thenecho "AIO_BASE_TAG=${{ github.event.inputs.base_tag_name }}" >> $GITHUB_OUTPUTelif [ "${{ env.TARGET_BRANCH }}" == "preview" ]; thenecho "AIO_BASE_TAG=preview" >> $GITHUB_OUTPUT@@ -78,6 +79,9 @@ jobs:echo "DO_SLIM_BUILD=false" >> $GITHUB_OUTPUTfi+ FLAT_BRANCH_NAME=$(echo "${{ env.TARGET_BRANCH }}" | sed 's/[^a-zA-Z0-9]/-/g')+ echo "FLAT_BRANCH_NAME=$FLAT_BRANCH_NAME" >> $GITHUB_OUTPUT+- id: checkout_filesname: Checkout Filesuses: actions/checkout@v4@@ -89,7 +93,7 @@ jobs:env:BUILD_TYPE: fullAIO_BASE_TAG: ${{ needs.branch_build_setup.outputs.aio_base_tag }}- AIO_IMAGE_TAGS: makeplane/plane-aio:full-${{ needs.branch_build_setup.outputs.gh_branch_name }}+ AIO_IMAGE_TAGS: makeplane/plane-aio:full-${{ needs.branch_build_setup.outputs.flat_branch_name }}TARGET_BRANCH: ${{ needs.branch_build_setup.outputs.gh_branch_name }}BUILDX_DRIVER: ${{ needs.branch_build_setup.outputs.gh_buildx_driver }}BUILDX_VERSION: ${{ needs.branch_build_setup.outputs.gh_buildx_version }}@@ -132,7 +136,7 @@ jobs:tags: ${{ env.AIO_IMAGE_TAGS }}push: truebuild-args: |- BUILD_TAG=${{ env.AIO_BASE_TAG }}+ BASE_TAG=${{ env.AIO_BASE_TAG }}BUILD_TYPE=${{env.BUILD_TYPE}}cache-from: type=ghacache-to: type=gha,mode=max@@ -149,7 +153,7 @@ jobs:env:BUILD_TYPE: slimAIO_BASE_TAG: ${{ needs.branch_build_setup.outputs.aio_base_tag }}- AIO_IMAGE_TAGS: makeplane/plane-aio:slim-${{ needs.branch_build_setup.outputs.gh_branch_name }}+ AIO_IMAGE_TAGS: makeplane/plane-aio:slim-${{ needs.branch_build_setup.outputs.flat_branch_name }}TARGET_BRANCH: ${{ needs.branch_build_setup.outputs.gh_branch_name }}BUILDX_DRIVER: ${{ needs.branch_build_setup.outputs.gh_buildx_driver }}BUILDX_VERSION: ${{ needs.branch_build_setup.outputs.gh_buildx_version }}@@ -192,7 +196,7 @@ jobs:tags: ${{ env.AIO_IMAGE_TAGS }}push: truebuild-args: |- BUILD_TAG=${{ env.AIO_BASE_TAG }}+ BASE_TAG=${{ env.AIO_BASE_TAG }}BUILD_TYPE=${{env.BUILD_TYPE}}cache-from: type=ghacache-to: type=gha,mode=max