Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Jun 27, 2024
1 parent 18662aa commit 71b122e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-aio-branch.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Branch Build AIO

on:
push:
workflow_dispatch:
inputs:
full:
Expand Down Expand Up @@ -83,7 +84,7 @@ jobs:
env:
BUILD_TYPE: full
AIO_BASE_TAG: ${{ needs.branch_build_setup.outputs.aio_base_tag }}
AIO_IMAGE_TAGS: makeplane/plane-aio-app-full:${{ needs.branch_build_setup.outputs.gh_branch_name }}
AIO_IMAGE_TAGS: makeplane/plane-aio-full:${{ needs.branch_build_setup.outputs.gh_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 }}
Expand All @@ -93,9 +94,9 @@ jobs:
- name: Set Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=makeplane/plane-aio-app-${{env.BUILD_TYPE}}:stable,makeplane/plane-aio-app-${{env.BUILD_TYPE}}:${{ github.event.release.tag_name }}
TAG=makeplane/plane-aio-${{env.BUILD_TYPE}}:stable,makeplane/plane-aio-${{env.BUILD_TYPE}}:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=makeplane/plane-aio-app-${{env.BUILD_TYPE}}:latest
TAG=makeplane/plane-aio-${{env.BUILD_TYPE}}:latest
else
TAG=${{ env.AIO_IMAGE_TAGS }}
fi
Expand Down Expand Up @@ -143,7 +144,7 @@ jobs:
env:
BUILD_TYPE: slim
AIO_BASE_TAG: ${{ needs.branch_build_setup.outputs.aio_base_tag }}
AIO_IMAGE_TAGS: makeplane/plane-aio-app-slim:${{ needs.branch_build_setup.outputs.gh_branch_name }}
AIO_IMAGE_TAGS: makeplane/plane-aio-slim:${{ needs.branch_build_setup.outputs.gh_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 }}
Expand All @@ -153,9 +154,9 @@ jobs:
- name: Set Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=makeplane/plane-aio-app-${{env.BUILD_TYPE}}:stable,makeplane/plane-aio-app-${{env.BUILD_TYPE}}:${{ github.event.release.tag_name }}
TAG=makeplane/plane-aio-${{env.BUILD_TYPE}}:stable,makeplane/plane-aio-${{env.BUILD_TYPE}}:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=makeplane/plane-aio-app-${{env.BUILD_TYPE}}:latest
TAG=makeplane/plane-aio-${{env.BUILD_TYPE}}:latest
else
TAG=${{ env.AIO_IMAGE_TAGS }}
fi
Expand Down

0 comments on commit 71b122e

Please sign in to comment.