Fix composer auth.json mount path
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 20s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 20s
This commit is contained in:
parent
d181635922
commit
840f2194f5
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ FROM composer:2 AS composer-builder
|
|||
WORKDIR /app
|
||||
COPY composer.json composer.lock ./
|
||||
# Mount auth.json as a secret so it never gets baked into the image
|
||||
RUN --mount=type=secret,id=composer_auth,dst=/root/.composer/auth.json \
|
||||
RUN --mount=type=secret,id=composer_auth,dst=/composer/auth.json \
|
||||
composer install \
|
||||
--no-dev \
|
||||
--no-interaction \
|
||||
|
|
|
|||
Loading…
Reference in a new issue