Skip to content

Commit 2efb2db

Browse files
markturanskyuserclaudemergify[bot]
authored
fix: correct COPY paths in credential sidecar Dockerfiles for CI build context (#1627)
## Summary - All 4 credential sidecar Dockerfiles (github, jira, k8s, google) used `COPY components/...` paths, but the CI workflow sets the Docker build context to `./components`, causing paths to resolve to the non-existent `./components/components/...` - Removed the `components/` prefix so COPY paths are relative to the `./components` build context, matching the pattern used by `ambient-control-plane` and `ambient-ui` Dockerfiles - This fixes the broken credential sidecar builds on main introduced in #1623 ## Test plan - [ ] CI credential sidecar builds pass (github, jira, k8s, google) - [ ] Verify built images start correctly 🤖 Generated with [Claude Code](https://claude.ai/code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated build configuration for credential sidecar services to adjust source paths during the build process. No changes to runtime functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: user <u@example.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent e86b1fe commit 2efb2db

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

components/credential-sidecars/github/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.24 AS builder
44

55
USER 0
66
WORKDIR /build
7-
COPY components/credential-sidecars/entrypoint/ ./entrypoint/
8-
COPY components/ambient-mcp/ ./ambient-mcp/
7+
COPY credential-sidecars/entrypoint/ ./entrypoint/
8+
COPY ambient-mcp/ ./ambient-mcp/
99

1010
WORKDIR /build/entrypoint
1111
RUN go mod edit -replace github.com/ambient-code/platform/components/ambient-mcp=../ambient-mcp && \

components/credential-sidecars/google/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.24 AS builder
22

33
USER 0
44
WORKDIR /build
5-
COPY components/credential-sidecars/entrypoint/ ./entrypoint/
6-
COPY components/ambient-mcp/ ./ambient-mcp/
5+
COPY credential-sidecars/entrypoint/ ./entrypoint/
6+
COPY ambient-mcp/ ./ambient-mcp/
77

88
WORKDIR /build/entrypoint
99
RUN go mod edit -replace github.com/ambient-code/platform/components/ambient-mcp=../ambient-mcp && \

components/credential-sidecars/jira/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.24 AS builder
22

33
USER 0
44
WORKDIR /build
5-
COPY components/credential-sidecars/entrypoint/ ./entrypoint/
6-
COPY components/ambient-mcp/ ./ambient-mcp/
5+
COPY credential-sidecars/entrypoint/ ./entrypoint/
6+
COPY ambient-mcp/ ./ambient-mcp/
77

88
WORKDIR /build/entrypoint
99
RUN go mod edit -replace github.com/ambient-code/platform/components/ambient-mcp=../ambient-mcp && \

components/credential-sidecars/k8s/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.24 AS builder
22

33
USER 0
44
WORKDIR /build
5-
COPY components/credential-sidecars/entrypoint/ ./entrypoint/
6-
COPY components/ambient-mcp/ ./ambient-mcp/
5+
COPY credential-sidecars/entrypoint/ ./entrypoint/
6+
COPY ambient-mcp/ ./ambient-mcp/
77

88
WORKDIR /build/entrypoint
99
RUN go mod edit -replace github.com/ambient-code/platform/components/ambient-mcp=../ambient-mcp && \

0 commit comments

Comments
 (0)