You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(build): add build_context_from_working_dir for independent modules (#165)
* feat(build): add build_context_from_working_dir input for independent modules
Adds a new boolean input to build.yml and pr-security-scan.yml that uses
the component working_dir as Docker build context instead of the repo root.
This enables building tools/services with their own go.mod without
conflicting with the main project dependencies.
* fix(gitops): change enable_docker_login default to false
GitOps updates only modify YAML files in the gitops repo and do not
pull or push Docker images. Docker login is unnecessary by default
and can be explicitly enabled when needed.
* fix(gitops): remove trailing spaces and add cd guard for shellcheck
Fix pre-existing lint issues:
- Remove trailing whitespace from 17 lines
- Add || exit 1 to cd commands (SC2164)
Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,10 @@ on:
122
122
description: 'Force multi-platform build (amd64+arm64) even for beta/rc tags'
123
123
type: boolean
124
124
default: false
125
+
build_context_from_working_dir:
126
+
description: 'Use the component working_dir as Docker build context instead of build_context. Useful for independent modules (e.g., tools with their own go.mod).'
description: 'Use the component working_dir as Docker build context instead of repo root. Useful for independent modules (e.g., tools with their own go.mod).'
72
+
type: boolean
73
+
default: false
70
74
71
75
permissions:
72
76
id-token: write # Required for OIDC authentication
0 commit comments