Skip to content

Commit

Permalink
Merge pull request #413 from govCMS/feature/add-composer-auth-secret
Browse files Browse the repository at this point in the history
feat: adds a secrets entrypoint
  • Loading branch information
yusufhm authored Jul 15, 2024
2 parents 9f41f21 + 156be42 commit fb8b89c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .docker/images/govcms/entrypoints/56-secrets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# Copy the composer auth.json file to the user's home
# directory if present in secrets.
if [ -f /run/secrets/composer-github-auth ]; then
cp /run/secrets/composer-github-auth /home/.composer/auth.json
fi

0 comments on commit fb8b89c

Please sign in to comment.