Skip to content

Update Dockerfile and CI configuration to avoid SecretsUsedInArgOrEnv docker warning for DIRECTUS_TOKEN - #356

Merged
jmoehler merged 10 commits into
mainfrom
fix_docker
Aug 6, 2026
Merged

Update Dockerfile and CI configuration to avoid SecretsUsedInArgOrEnv docker warning for DIRECTUS_TOKEN#356
jmoehler merged 10 commits into
mainfrom
fix_docker

Conversation

@jmoehler

Copy link
Copy Markdown
Collaborator

changes:

Dockerfile: mount directus token as secret instead of arg, cleaning it
CI: set the token as secret instead of build-arg
Readme: adjusted documentation accordingly

@jmoehler
jmoehler requested a review from Planlos5000 March 16, 2026 13:14
Comment thread Dockerfile Outdated
Comment thread .github/workflows/CI.yaml Outdated
Comment thread Dockerfile Outdated
@jmoehler
jmoehler enabled auto-merge June 17, 2026 12:51
@jmoehler

jmoehler commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

@inovex inovex deleted a comment from Copilot AI Aug 5, 2026

@Planlos5000 Planlos5000 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could also update our .dockerignore to also include files and folders that are created when building the page locally or are not needed in the docker context.
Here a list of what could be part of the .dockerignore (it could be that this list is not complete):

  • .astro
  • dist
  • .env
  • .env.example
  • code of conduct, readme and licese

Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
Comment thread Dockerfile Outdated
@jmoehler
jmoehler added this pull request to the merge queue Aug 6, 2026
Merged via the queue into main with commit 1e959ae Aug 6, 2026
2 checks passed
@jmoehler
jmoehler deleted the fix_docker branch August 6, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants