Commit graph

31 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
68cccaa67d create FUNDING.yml
- Sorry for shameless plug xD
2025-08-27 19:19:11 -07:00
Utkarsh-Patel-13
d4f0613865 Fixed docker build hook to build for all architectures 2025-08-01 13:07:29 -07:00
Utkarsh-Patel-13
d2964708ff Biome: Pre-commit workflow fix - npm => pnpm 2025-07-27 13:32:10 -07:00
Utkarsh-Patel-13
4f8ebc4cbd Biome: Pre-commit workflow fix - dependency 2025-07-27 12:30:41 -07:00
Utkarsh-Patel-13
0fd350c43c Biome: Pre-commit workflow fix (replaced npm to pnpm) 2025-07-27 12:28:27 -07:00
Utkarsh-Patel-13
cfa5693d4a Biome: Pre-commit workflow fix 2025-07-27 12:22:19 -07:00
Utkarsh-Patel-13
0f3609308e Biome: Pre-commit fix 2025-07-27 12:20:35 -07:00
Utkarsh-Patel-13
c39de63d55 Fixed code quality workflows for file-quality and security 2025-07-24 16:10:28 -07:00
Utkarsh-Patel-13
9425f63e51 Fixed frontend tag in code quality workflwo 2025-07-24 16:02:17 -07:00
Utkarsh-Patel-13
1073f39bf3 github workflow for checking commits 2025-07-24 15:59:28 -07:00
Sabin Shrestha
cf9bc01664 refactor: enhance pre-commit workflow with improved diff detection and caching 2025-07-21 23:21:27 +05:45
Sabin Shrestha
b82c24ad07 chore: add pre-commit 2025-07-21 22:46:12 +05:45
Anshul Sharma
f6d9f76c43
Merge branch 'main' into anshulss/buildimage 2025-06-03 11:30:40 +05:30
Anshul Sharma
0c70064f2f
Update docker-publish.yml 2025-06-01 09:46:56 +05:30
Anshul Sharma
2ae8d227bf
Merge branch 'MODSetter:main' into main 2025-06-01 09:38:21 +05:30
google-labs-jules[bot]
825dcad112 feat: Enable multi-architecture Docker image builds (amd64, arm64)
Updates the GitHub Actions workflow (`.github/workflows/docker-publish.yml`)
to build and push Docker images for both `linux/amd64` and `linux/arm64`
architectures.

The `platforms` attribute has been added to the `docker/build-push-action`
step for both the backend and frontend jobs. This ensures that you on
different CPU architectures can use the published images from ghcr.io.
2025-05-29 02:00:56 +00:00
google-labs-jules[bot]
5ff08e7b3f feat: Add GitHub Actions workflow for Docker image publishing
Adds a GitHub Actions workflow to automatically build and publish Docker images for the backend and frontend services.

The workflow (`.github/workflows/docker-publish.yml`) is triggered on pushes to the `main` branch. It includes two jobs:

1.  `build_and_push_backend`: Builds the Docker image from `surfsense_backend/Dockerfile` and pushes it to `ghcr.io/<owner>/surfsense_backend:<commit_sha>`.
2.  `build_and_push_frontend`: Builds the Docker image from `surfsense_web/Dockerfile` and pushes it to `ghcr.io/<owner>/surfsense_web:<commit_sha>`.

Both jobs include steps for:
- Checking out the repository.
- Setting up QEMU and Docker Buildx.
- Logging into the GitHub Container Registry (ghcr.io) using `secrets.GITHUB_TOKEN`.
- Building and pushing the respective Docker images, tagged with the commit SHA.
- Adding OCI labels for image source, creation date, and revision.

This CI pipeline automates the process of creating and distributing Docker images for the application, ensuring that new versions are available in the GitHub Container Registry upon changes to the main branch.
2025-05-29 01:58:58 +00:00
Xinwei Xiong
aadd9e20e5 Add PR template with enhanced checklist for SurfSense 2025-05-14 16:40:28 +08:00
Anshul Sharma
efd68a6f50 use different job for each image 2025-04-28 00:04:20 +05:30
Anshul Sharma
6d4e5a740f added ui build step 2025-04-26 23:10:24 +05:30
Anshul Sharma
7e5dd5c146 fixed yaml 2025-04-23 22:00:11 +05:30
Anshul Sharma
ff78dde5e5 remove comments 2025-04-23 21:59:03 +05:30
Anshul Sharma
fb6e83951c fix 2025-04-23 21:00:42 +05:30
Anshul Sharma
a9b7b6dd77 fixed job dependency 2025-04-23 20:53:37 +05:30
Anshul Sharma
2aa8769724 added tagging for version 2025-04-23 20:47:30 +05:30
Anshul Sharma
2b92c317bd hardcoded version 2025-04-13 00:30:12 +05:30
Anshul Sharma
4e36cb44e7 Updated versioning 2025-04-12 20:45:41 +05:30
Anshul Sharma
3ded17d325 updated tags 2025-04-12 20:39:15 +05:30
Anshul Sharma
165cc3bdca adding workflow 2025-04-12 20:25:03 +05:30
DESKTOP-RTLN3BA\$punk
ecc45c689e initial release 2024-08-12 21:07:21 -07:00
DESKTOP-RTLN3BA\$punk
8624ebc260 ? 2024-08-12 15:00:52 -07:00