Commit graph

31 commits

Author SHA1 Message Date
109e09b941 - Fix: Ensure npx and node Availability ()
This PR addresses the issue where `npx` and `node` were not available in the action pipelines. Additionally, it removes the reliance on `nvm` for installation. Instead, the latest available LTS version of Node.js is installed during the image build process, ensuring compatibility and seamless execution in the pipelines.

This closes 

Reviewed-on: 
Co-authored-by: Guillaume "B.B." Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
Co-committed-by: Guillaume "B.B." Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
2025-07-14 18:45:14 +00:00
fdc8276d0e Update .forgejo/workflows/docker-master.yaml
space a bit the image creation timing
2025-06-29 06:22:58 +00:00
42652ed9b9 #0000- Fix Dockerfile formatting by removing unnecessary trailing backslash 2025-06-25 18:45:37 +00:00
9b7eff8a82 - Update Dockerfile to adjust .gitignore URL for enhanced JetBrains support 2025-06-25 18:38:28 +00:00
5b995f1729 - Update Dockerfile to adjust .gitignore URL for enhanced JetBrains support 2025-06-25 18:34:31 +00:00
93f6731436 - Update Dockerfile to adjust .gitignore URL for enhanced JetBrains support 2025-06-25 18:24:11 +00:00
aed2b7e0a0 - Update Dockerfile to configure global .gitignore and use --global for git excludesfile 2025-06-25 18:02:45 +00:00
63c33c0771 - Remove workflow_dispatch trigger from Forgejo workflows 2025-06-25 17:28:55 +00:00
0bd84540a6 Docker Image Updates and Security Enhancements ()
# Overview
This PR introduces several improvements to our Docker infrastructure, focusing on security, base image optimization, and workflow automation.

# Key Changes

## Base Image Updates
- Updated system package installation and cleanup processes

## Security Enhancements
- Implemented Trivy security scanning in the Dockerfile
- Adjusted Trivy scan configuration to handle known Debian vulnerabilities
- Enhanced container security by ensuring proper ownership of `/workspaces` directory

## CI/CD Improvements
- Added manual workflow dispatch capability to Docker workflows
- Implemented cron scheduling for automated builds
- Enhanced Docker image configuration and build process

# Technical Details
- Trivy security scanning is now implemented using a script-based installation method
- Workflow improvements allow both scheduled and manual triggering of Docker builds

# Security Considerations
- Trivy scan exit code has been set to 0 to accommodate known Debian vulnerabilities while maintaining security awareness
- Proper directory permissions and ownership are maintained for `/workspaces`

# Impact
These changes improve our Docker image by:
- Reducing image size and improving build efficiency
- Enhancing security scanning capabilities
- Providing more flexible deployment options through manual triggers
- Ensuring consistent automated builds through cron scheduling

# Reviewer Notes
Please pay special attention to:
- The base image change and its impact on existing workflows
- Security scanning configuration
- Workflow trigger modifications

Reviewed-on: 
Co-authored-by: Guiillaume Hemmen <guillaume@van-hemmen.com>
Co-committed-by: Guiillaume Hemmen <guillaume@van-hemmen.com>
2025-06-25 17:26:37 +00:00
6095ba1cac Remove obsolete workflow and update Docker configurations
Removed the `docker-tag.yaml` workflow as it is no longer needed. Updated the destination tag format in `docker-master.yaml` and upgraded Node.js major version to 22 in the Dockerfile for compatibility and consistency.
2025-05-19 19:10:05 +02:00
34963812db Correct case in repository URLs for consistency.
Updated all instances of "GuillaumeHemmen" to "guillaumehemmen" in workflow files to ensure uniformity in repository URLs. This change prevents potential issues caused by case sensitivity in certain environments.
2025-05-19 19:07:38 +02:00
381ad5aced Update Kaniko executor image in Docker workflow
Replaced the Kaniko executor image with a self-hosted version to improve control and reliability. This ensures the workflow uses a specific version (`25.21.1`) hosted on `git.van-hemmen.com`.
2025-05-19 19:03:05 +02:00
50b53e3700 Add CI workflows for Docker image building and pushing
Introduce four workflows to automate Docker builds and pushes using Kaniko. These workflows cover push events to the `master` branch, pull requests, tag pushes, and other branches. They streamline image publishing to the specified registry with proper secrets configuration.
2025-05-19 19:01:03 +02:00
a487046931
- Add manual trigger to Woodpecker CI configuration.
This change allows the CI pipeline to be manually triggered in addition to being triggered by cron jobs and pushes. This provides more flexibility for testing and deployment workflows.
2024-10-17 11:21:58 +02:00
4966b1242a
- Update Node.js version from 18 to 20
Changed the ARG_NODE_MAJOR in Dockerfile and updated corresponding tags in .woodpecker.yml to reflect the new Node.js version. This ensures that the build process uses the latest version of Node.js.
2024-10-17 11:16:01 +02:00
c58301177c Update Dockerfile 2023-11-22 16:56:09 +01:00
ecb7770a8c Update .woodpecker.yml 2023-11-20 17:52:15 +01:00
56b9b8c0cc add yarn to the image 2023-11-20 17:51:05 +01:00
a84ae68f9f
- re-enable cron 2023-11-04 17:01:27 +01:00
2cf7148f93
- fix tag name issue 2023-11-04 16:49:17 +01:00
e4068c988f
- fix var issues 2023-11-04 16:44:46 +01:00
4f5ea62d1f
- fix var issues 2023-11-04 16:44:29 +01:00
566693b559
- fix var issues 2023-11-04 16:43:48 +01:00
aaa83e6c42
- Implement CI/CD 2023-11-04 16:42:10 +01:00
d7db74f489
- test arg 2023-11-04 13:30:02 +01:00
ca238429b6
- test arg 2023-11-04 13:27:01 +01:00
b309228f13
- test arg 2023-11-04 13:24:42 +01:00
df3146e891
- test arg 2023-11-04 13:21:33 +01:00
67f182d16d
- disable CI/CD filter 2023-11-04 12:24:01 +01:00
3093923643
- implement Dockerfile and CI/CD 2023-11-04 12:23:08 +01:00
317c439f31 Initial commit 2023-11-04 12:06:53 +01:00