Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4bfd8d5065 | |||
| bd9e0c8a91 |
+1
-1
@@ -3,7 +3,7 @@
|
||||
"type": "project",
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"hackeamos.org/hms-theme": "^1.0"
|
||||
"wpackagist-theme/twentytwentyfive": "*"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
|
||||
@@ -17,6 +17,7 @@ RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli
|
||||
# install composer dependencies
|
||||
COPY composer.json composer.lock ./
|
||||
RUN --mount=type=secret,id=GITEA_TOKEN \
|
||||
test -n "${GITEA_TOKEN}" && \
|
||||
export TOKEN=$(cat /run/secrets/GITEA_TOKEN) && \
|
||||
composer config --global auth.http-basic.seu-gitea.com token $TOKEN && \
|
||||
composer install --no-dev --optimize-autoloader
|
||||
|
||||
Reference in New Issue
Block a user