Skip to content

feat(docker): use build secrets for Dynatrace credentials and add ARM…#3

Merged
simpros merged 4 commits intomainfrom
update-build
Feb 28, 2026
Merged

feat(docker): use build secrets for Dynatrace credentials and add ARM…#3
simpros merged 4 commits intomainfrom
update-build

Conversation

@simpros
Copy link
Copy Markdown
Owner

@simpros simpros commented Feb 28, 2026

… platform

  • Replace ARG-based secret passing with --mount=type=secret in Dockerfile, fixing Docker's SecretsUsedInArgOrEnv lint warning
  • Add QEMU setup and linux/arm64 platform to CI/CD publish workflow
  • Move Dynatrace credentials from build-args to secrets in build-push-action

simpros and others added 4 commits February 28, 2026 16:01
… platform

- Replace ARG-based secret passing with --mount=type=secret in Dockerfile,
  fixing Docker's SecretsUsedInArgOrEnv lint warning
- Add QEMU setup and linux/arm64 platform to CI/CD publish workflow
- Move Dynatrace credentials from build-args to secrets in build-push-action

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the .env.telemetry pattern that baked DYNATRACE_LOG_INGEST_URL and
DYNATRACE_API_TOKEN into the Docker image at build time. Secrets were
extractable from the final image layer — a security vulnerability.

Now:
- Dockerfile has zero secrets; CMD runs bun directly
- CI workflow no longer passes secrets at build time
- docker-compose.prod.yml injects Dynatrace vars as runtime env vars
- No app code changes needed (logging module already reads process.env)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@simpros simpros self-assigned this Feb 28, 2026
@simpros simpros merged commit d9af3eb into main Feb 28, 2026
1 check passed
@simpros simpros deleted the update-build branch February 28, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant