Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.16-dev #22

Merged
merged 75 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
3950984
fix: cycle select dropdown issue layout overflow fix (#3789)
anmolsinghbhatia Feb 25, 2024
31ebecb
fix: issue sidebar label overflow (#3788)
anmolsinghbhatia Feb 25, 2024
b4fb9f1
[WEB-495] chore: issue title improvement (#3780)
anmolsinghbhatia Feb 25, 2024
510eeb7
dev: remove ping
pablohashescobar Feb 26, 2024
a8c5b55
fix: profile sidebar layout (#3792)
anmolsinghbhatia Feb 26, 2024
e1ef830
fix: currentProjectCompletedCycleIds function updated in store (#3793)
anmolsinghbhatia Feb 26, 2024
8b6206f
fix: dashboard issues widget tab rendering bug (#3795)
aaryan610 Feb 26, 2024
e1f13af
improvement: 1 click deployment (#3794)
mguptahub Feb 26, 2024
5c089f0
[WEB-496] fix: issue comment (#3796)
anmolsinghbhatia Feb 26, 2024
dad682a
release and stable tags swapped (#3799)
mguptahub Feb 26, 2024
01e0987
[WEB-534] fix: application sidebar project, favourite project sidebar…
gurusainath Feb 26, 2024
e1d7305
fix: gantt overflow (#3804)
aaryan610 Feb 26, 2024
1866474
chore: inbox layout loader and peek overview subscription improvement…
anmolsinghbhatia Feb 26, 2024
87888a5
chore: added description in inbox issue (#3802)
NarayanBavisetti Feb 26, 2024
888268a
chore: issue sidebar min width and padding added (#3800)
anmolsinghbhatia Feb 26, 2024
67fdafb
chore: custom search select input key down improvement (#3787)
anmolsinghbhatia Feb 26, 2024
ee57f81
chore: update package version
sriramveeraghanta Feb 26, 2024
c950e3d
Merge branch 'develop' of github.com:makeplane/plane into preview
sriramveeraghanta Feb 26, 2024
e20681b
[INFRA-7] feat: selective build (#3806)
mguptahub Feb 27, 2024
58e0170
chore: posthog key validation (#3766)
NarayanBavisetti Feb 27, 2024
aba170d
chore: sequence id search in the issue search (#3807)
NarayanBavisetti Feb 27, 2024
c858b76
chore: onboarding workspace name valdiation error indicator added (#3…
anmolsinghbhatia Feb 27, 2024
34d6b13
[WEB-581] fix: issue editing functionality enhancement in Create/Edit…
gurusainath Feb 27, 2024
002b250
[WEB-583] fix: issue modal description on workspace level (#3814)
aaryan610 Feb 27, 2024
bd14298
[WEB-590] chore: project member active (#3820)
NarayanBavisetti Feb 28, 2024
6c70d38
[WEB-575] chore: safely re-enable SWR (#3805)
rahulramesha Feb 28, 2024
7e46cbc
[WEB-127] fix: issue with command palette outside click detection. (#…
prateekshourya29 Feb 28, 2024
895ff03
chore: issue comment edit validation (#3817)
anmolsinghbhatia Feb 28, 2024
1f5d542
chore: issue peek overview improvement (#3821)
anmolsinghbhatia Feb 28, 2024
fece947
chore: inbox issue detail activity and comment initial load improveme…
anmolsinghbhatia Feb 28, 2024
ec43c8e
[WEB-584] fix: draft issue management with workspace specific local s…
gurusainath Feb 28, 2024
fe64208
fix: default assignee for feature and bug report
sriramveeraghanta Feb 28, 2024
ef467f7
fix: merge conflicts resolved
sriramveeraghanta Feb 28, 2024
6dd785b
chore: added parameters `TARGET_REPO_A` & `TARGET_REPO_B` for sync br…
henit-chobisa Feb 28, 2024
5033b1b
Merge branch 'preview' of github.com:makeplane/plane into develop
sriramveeraghanta Feb 28, 2024
16d7b3c
fix: sync action variable naming
sriramveeraghanta Feb 28, 2024
0f56945
[INFRA-10] feat: self host log view (#3824)
mguptahub Feb 28, 2024
b152078
[WEB-586] chore: spreadsheet layout keyboard accessibility (#3818)
anmolsinghbhatia Feb 28, 2024
30cc923
[WEB-419] feat: manual issue archival (#3801)
aaryan610 Feb 28, 2024
37fb3cd
Merge branch 'develop' of github.com:makeplane/plane into dev/externa…
pablohashescobar Feb 28, 2024
0215b69
chore: update issue date icons (#3826)
aaryan610 Feb 28, 2024
c4028ef
fix: usePage hook throws an error without projectId (#3827)
aaryan610 Feb 28, 2024
7abfbac
chore: spreadsheet layout dropdown z index improvement (#3825)
anmolsinghbhatia Feb 28, 2024
51f795f
[WEB-477] feat: enhanced project issue filtering by cycles and module…
gurusainath Feb 28, 2024
34301e4
fix: app sidebar toggle (#3829)
anmolsinghbhatia Feb 28, 2024
39136d3
chore: spreadsheet layout dropdowns focus on toggle functionality add…
anmolsinghbhatia Feb 29, 2024
5680520
[WEB-597] chore: dashboard overdue issues (#3832)
NarayanBavisetti Feb 29, 2024
9326fb0
[WEB-601] feat: enhanced display filters grouping by cycles and modul…
gurusainath Feb 29, 2024
62693ab
chore: project emoji icon improvement (#3837)
anmolsinghbhatia Feb 29, 2024
65024fe
chore: priority icon none state hover state added (#3840)
anmolsinghbhatia Feb 29, 2024
d108782
[web-599] ui: kanban layout UI consistency enhancement for grouped di…
gurusainath Feb 29, 2024
92e9949
fix: project sidebar favorite list logic updated (#3842)
anmolsinghbhatia Feb 29, 2024
5d7c0a2
[WEB-600] fix: fixed sub-group-by issue count display in kanban layou…
gurusainath Feb 29, 2024
f183e38
fix: module sidebar description duplicacy (#3844)
anmolsinghbhatia Feb 29, 2024
850bf01
Merge branch 'preview' of github.com:makeplane/plane into develop
sriramveeraghanta Feb 29, 2024
e4988ee
fix: issue sidebar and peek overview cycle select improvement (#3845)
anmolsinghbhatia Feb 29, 2024
5cfebb8
fix: issue description on last draft issue (#3846)
gurusainath Feb 29, 2024
e6f33eb
[WEB-609] fix: header text overflow issue in kanban layout (#3848)
gurusainath Feb 29, 2024
bc6e48f
chore: issue comment PATCH changes (#3850)
NarayanBavisetti Mar 1, 2024
d39f252
chore: removing unnecessary lines
sriramveeraghanta Mar 1, 2024
e4bccea
fix: multiple issue comment (#3854)
anmolsinghbhatia Mar 1, 2024
4b70643
[WEB-619] fix: workspace all issue quick action (#3853)
anmolsinghbhatia Mar 1, 2024
894de80
[WEB-616] fix: inbox issue navigation issue title and description eve…
anmolsinghbhatia Mar 1, 2024
59c9b3b
chore: added auto merge CI for merging sync branches
henit-chobisa Mar 4, 2024
6eb7014
chore: update github readme - content edits to feature section, new s…
vihar Mar 4, 2024
d99529b
fix: crash while updating link text on the last node (#3871)
Palanikannan1437 Mar 4, 2024
af70722
chore: added workflow for checking version before merge to master (#3…
henit-chobisa Mar 5, 2024
f8f9dd3
[CHANG-8] chore: Upgraded Build Pull Request CI for Faster Parallel B…
henit-chobisa Mar 5, 2024
d07dd65
feat: feature preview deploys for web and space nextjs applications (…
mguptahub Mar 6, 2024
5031819
Merge branch 'preview' of github.com:makeplane/plane into develop
sriramveeraghanta Mar 6, 2024
4d0f641
[WEB-588] chore: remove the word `title` from the issue title tooltip…
prateekshourya29 Mar 6, 2024
7333413
Merge branch 'chore/auto-merge' of github.com:makeplane/plane into pr…
sriramveeraghanta Mar 6, 2024
2b05d23
fix: kanban card state overflow fix (#3866)
anmolsinghbhatia Mar 6, 2024
6e21806
Merge branch 'preview' of https://github.com/makeplane/plane into pre…
torbenraab Mar 7, 2024
1dab17f
Fix Build Workflow
torbenraab Mar 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/--bug-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bug report
description: Create a bug report to help us improve Plane
title: "[bug]: "
labels: [🐛bug]
assignees: [srinivaspendem, pushya-plane]
assignees: [srinivaspendem, pushya22]
body:
- type: markdown
attributes:
Expand Down Expand Up @@ -45,7 +45,7 @@ body:
- Deploy preview
validations:
required: true
type: dropdown
- type: dropdown
id: browser
attributes:
label: Browser
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/--feature-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Feature request
description: Suggest a feature to improve Plane
title: "[feature]: "
labels: [✨feature]
assignees: [srinivaspendem, pushya-plane]
assignees: [srinivaspendem, pushya22]
body:
- type: markdown
attributes:
Expand Down
97 changes: 97 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Auto Merge or Create PR on Push

on:
workflow_dispatch:
push:
branches:
- "sync/**"

env:
CURRENT_BRANCH: ${{ github.ref_name }}
SOURCE_BRANCH: ${{ secrets.SYNC_TARGET_BRANCH_NAME }} # The sync branch such as "sync/ce"
TARGET_BRANCH: ${{ secrets.TARGET_BRANCH }} # The target branch that you would like to merge changes like develop
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Personal access token required to modify contents and workflows
REVIEWER: ${{ secrets.REVIEWER }}

jobs:
Check_Branch:
runs-on: ubuntu-latest
outputs:
BRANCH_MATCH: ${{ steps.check-branch.outputs.MATCH }}
steps:
- name: Check if current branch matches the secret
id: check-branch
run: |
if [ "$CURRENT_BRANCH" = "$SOURCE_BRANCH" ]; then
echo "MATCH=true" >> $GITHUB_OUTPUT
else
echo "MATCH=false" >> $GITHUB_OUTPUT
fi

Auto_Merge:
if: ${{ needs.Check_Branch.outputs.BRANCH_MATCH == 'true' }}
needs: [Check_Branch]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Setup GH CLI and Git Config
run: |
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh -y

- id: git-author
name: Setup Git CLI from Github Token
run: |
VIEWER_JSON=$(gh api graphql -f query='query { viewer { name login databaseId }}' --jq '.data.viewer')
VIEWER_NAME=$(jq --raw-output '.name | values' <<< "${VIEWER_JSON}")
VIEWER_LOGIN=$(jq --raw-output '.login' <<< "${VIEWER_JSON}")
VIEWER_DATABASE_ID=$(jq --raw-output '.databaseId' <<< "${VIEWER_JSON}")

USER_NAME="${VIEWER_NAME:-${VIEWER_LOGIN}}"
USER_EMAIL="${VIEWER_DATABASE_ID}+${VIEWER_LOGIN}@users.noreply.github.com"

git config --global user.name ${USER_NAME}
git config --global user.email ${USER_EMAIL}

- name: Check for merge conflicts
id: conflicts
run: |
git fetch origin $TARGET_BRANCH
git checkout $TARGET_BRANCH
# Attempt to merge the main branch into the current branch
if $(git merge --no-commit --no-ff $SOURCE_BRANCH); then
echo "No merge conflicts detected."
echo "HAS_CONFLICTS=false" >> $GITHUB_ENV
else
echo "Merge conflicts detected."
echo "HAS_CONFLICTS=true" >> $GITHUB_ENV
git merge --abort
fi

- name: Merge Change to Target Branch
if: env.HAS_CONFLICTS == 'false'
run: |
git commit -m "Merge branch '$SOURCE_BRANCH' into $TARGET_BRANCH"
git push origin $TARGET_BRANCH

- name: Create PR to Target Branch
if: env.HAS_CONFLICTS == 'true'
run: |
# Use GitHub CLI to create PR and specify author and committer
PR_URL=$(gh pr create --base $TARGET_BRANCH --head $SOURCE_BRANCH \
--title "sync: merge conflicts need to be resolved" \
--body "" \
--reviewer $REVIEWER )
echo "Pull Request created: $PR_URL"

80 changes: 57 additions & 23 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
gh_buildx_version: ${{ steps.set_env_variables.outputs.BUILDX_VERSION }}
gh_buildx_platforms: ${{ steps.set_env_variables.outputs.BUILDX_PLATFORMS }}
gh_buildx_endpoint: ${{ steps.set_env_variables.outputs.BUILDX_ENDPOINT }}
build_frontend: ${{ steps.changed_files.outputs.frontend_any_changed }}
build_space: ${{ steps.changed_files.outputs.space_any_changed }}
build_backend: ${{ steps.changed_files.outputs.backend_any_changed }}
build_proxy: ${{ steps.changed_files.outputs.proxy_any_changed }}

steps:
- id: set_env_variables
Expand All @@ -41,9 +45,37 @@ jobs:
fi
echo "TARGET_BRANCH=${{ env.TARGET_BRANCH }}" >> $GITHUB_OUTPUT

- id: checkout_files
name: Checkout Files
uses: actions/checkout@v4

- name: Get changed files
id: changed_files
uses: tj-actions/changed-files@v42
with:
files_yaml: |
frontend:
- web/**
- packages/**
- 'package.json'
- 'yarn.lock'
- 'tsconfig.json'
- 'turbo.json'
space:
- space/**
- packages/**
- 'package.json'
- 'yarn.lock'
- 'tsconfig.json'
- 'turbo.json'
backend:
- apiserver/**
proxy:
- nginx/**

branch_build_push_frontend:
if: ${{ (needs.branch_build_setup.outputs.build_frontend == 'true' || github.event_name == 'release' || needs.branch_build_setup.outputs.gh_branch_name == 'master') && !contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
runs-on: ubuntu-20.04
if: ${{ !contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
needs: [branch_build_setup]
env:
FRONTEND_TAG: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:${{ needs.branch_build_setup.outputs.gh_branch_name }}
Expand All @@ -56,9 +88,9 @@ jobs:
- name: Set Frontend Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:latest
else
TAG=${{ env.FRONTEND_TAG }}
fi
Expand Down Expand Up @@ -96,7 +128,7 @@ jobs:

branch_build_frontend_amd64:
runs-on: ubuntu-20.04
if: ${{ contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
if: ${{ github.event_name == 'release' && contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
needs: [branch_build_setup]
env:
FRONTEND_TAG: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:${{ needs.branch_build_setup.outputs.gh_branch_name }}
Expand All @@ -109,9 +141,9 @@ jobs:
- name: Set Frontend Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:latest
else
TAG=${{ env.FRONTEND_TAG }}
fi
Expand Down Expand Up @@ -149,7 +181,7 @@ jobs:

branch_build_frontend_arm64:
runs-on: [self-hosted, linux, ARM64]
if: ${{ contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
if: ${{ github.event_name == 'release' && contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
needs: [branch_build_setup]
env:
FRONTEND_TAG: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:${{ needs.branch_build_setup.outputs.gh_branch_name }}
Expand All @@ -162,9 +194,9 @@ jobs:
- name: Set Frontend Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:stable
TAG=${{ secrets.DOCKERHUB_USERNAME }}/plane-frontend:latest
else
TAG=${{ env.FRONTEND_TAG }}
fi
Expand All @@ -185,7 +217,7 @@ jobs:
endpoint: ${{ env.BUILDX_ENDPOINT }}

- name: Check out the repo
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Build and Push Frontend to Docker Container Registry
uses: docker/[email protected]
Expand All @@ -203,7 +235,7 @@ jobs:
branch_push_frontend:
runs-on: ubuntu-20.04
needs: [branch_build_setup, branch_build_frontend_amd64, branch_build_frontend_arm64]
if: ${{ contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
if: ${{ github.event_name == 'release' && contains(needs.branch_build_setup.outputs.gh_buildx_platforms, 'linux/arm64') }}
env:
FRONTEND_TAG: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-arm64:${{ needs.branch_build_setup.outputs.gh_branch_name }}
FRONTEND_TAG_AMD64: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend-amd64:${{ needs.branch_build_setup.outputs.gh_branch_name }}
Expand All @@ -219,7 +251,7 @@ jobs:
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-frontend:latest
else
TAG=${{ env.FRONTEND_TAG }}
fi
Expand Down Expand Up @@ -259,13 +291,14 @@ jobs:
if: ${{ github.event_name == 'release' }}
with:
tags: |
${{ env.FRONTEND_TAG }}:latest
${{ env.FRONTEND_TAG }}:stable
${{ env.FRONTEND_TAG }}:${{ github.event.release.tag_name }}
sources: |
${{ env.FRONTEND_TAG_AMD64 }}
${{ env.FRONTEND_TAG_ARM64 }}

branch_build_push_space:
if: ${{ needs.branch_build_setup.outputs.build_space == 'true' || github.event_name == 'release' || needs.branch_build_setup.outputs.gh_branch_name == 'master' }}
runs-on: ubuntu-20.04
needs: [branch_build_setup]
env:
Expand All @@ -279,9 +312,9 @@ jobs:
- name: Set Space Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-space:latest
else
TAG=${{ env.SPACE_TAG }}
fi
Expand All @@ -302,7 +335,7 @@ jobs:
endpoint: ${{ env.BUILDX_ENDPOINT }}

- name: Check out the repo
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Build and Push Space to Docker Hub
uses: docker/[email protected]
Expand All @@ -318,6 +351,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}

branch_build_push_backend:
if: ${{ needs.branch_build_setup.outputs.build_backend == 'true' || github.event_name == 'release' || needs.branch_build_setup.outputs.gh_branch_name == 'master' }}
runs-on: ubuntu-20.04
needs: [branch_build_setup]
env:
Expand All @@ -331,9 +365,9 @@ jobs:
- name: Set Backend Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-backend:latest
else
TAG=${{ env.BACKEND_TAG }}
fi
Expand All @@ -354,7 +388,7 @@ jobs:
endpoint: ${{ env.BUILDX_ENDPOINT }}

- name: Check out the repo
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Build and Push Backend to Docker Hub
uses: docker/[email protected]
Expand All @@ -369,8 +403,8 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}


branch_build_push_proxy:
if: ${{ needs.branch_build_setup.outputs.build_proxy == 'true' || github.event_name == 'release' || needs.branch_build_setup.outputs.gh_branch_name == 'master' }}
runs-on: ubuntu-20.04
needs: [branch_build_setup]
env:
Expand All @@ -384,9 +418,9 @@ jobs:
- name: Set Proxy Docker Tag
run: |
if [ "${{ github.event_name }}" == "release" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:latest,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:${{ github.event.release.tag_name }}
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:stable,${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:${{ github.event.release.tag_name }}
elif [ "${{ env.TARGET_BRANCH }}" == "master" ]; then
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:stable
TAG=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_REPO }}/plane-proxy:latest
else
TAG=${{ env.PROXY_TAG }}
fi
Expand All @@ -407,7 +441,7 @@ jobs:
endpoint: ${{ env.BUILDX_ENDPOINT }}

- name: Check out the repo
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4

- name: Build and Push Plane-Proxy to Docker Hub
uses: docker/[email protected]
Expand Down
Loading
Loading