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

[chore] Fixed Github Workflows for Building and Pushing, frontend, backend, proxy & plane-deploy #1959

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

henit-chobisa
Copy link
Collaborator

Scenarios where the workflows would run:

  • When a release is PUBLISHED, from draft to release or a direct release, the workflow will be triggered, generating new tags based on the current release ( for release 0.1.1 , the images are tagged as plane-<frontend/backend/proxy/deploy>:0.1.1 ) and the image will be marked latest.
  • When a pull request get merged in develop branch, all the existing images will be updated with tag develop, still develop won't be the latest tag for the image, the latest tag will be the release tag above.

Secret Specifications:

  • DOCKERHUB_USERNAME - Username for the dockerhub account ( makeplane ), henit0885 in my case
  • DOCKERHUB_TOKEN - ITS NOT DOCKERHUB_PASSWORD! New PAT Token generated at Dockerhub for Push, Pull Action
  • TIPTAP_TOKEN - Tiptap Pro Extension token for the main frontend app, actions generate .npmrc on the fly after checkout.

Screenshots from the Tests:

With Merge in Develop

image image image image image

With New Release and Latest

image image image

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Ignored Deployments
Name Status Preview Updated (UTC)
plane ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm
plane-dev ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm
plane-sh ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm
plane-sh-dev ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm
plane-sh-stage ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm
plane-staging ⬜️ Ignored (Inspect) Aug 23, 2023 8:47pm

@sriramveeraghanta sriramveeraghanta merged commit fe1b0c1 into develop Aug 25, 2023
1 check passed
@sriramveeraghanta sriramveeraghanta deleted the fix-github-workflows branch August 25, 2023 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants