Skip to content

Commit

Permalink
fix(build): goreleaser director
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Dec 13, 2023
1 parent cfe81c2 commit 4da64f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sidecar/otelcol/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ before:
- make generate-sources VERSION={{ .Version }}

builds:
- main: ./cmd
- dir: ./cmd
env:
- CGO_ENABLED=0
goos:
Expand Down
4 changes: 2 additions & 2 deletions sidecar/otelcol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ COPY --from=directories --chown=${USER_UID}:${USER_UID} /var/log/otelcol.log /va
# copy the default tailing-sidecar configuration file
COPY ./config.yaml /etc/otel/config.yaml

COPY otelcol-sidecar /
ENTRYPOINT ["/otelcol-sidecar"]
COPY otelcol-sidecar /otelcol
ENTRYPOINT ["/otelcol"]
CMD ["--config", "/etc/otel/config.yaml"]

0 comments on commit 4da64f9

Please sign in to comment.