Fix composer auth.json mount path
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 20s

This commit is contained in:
PeterChrz 2026-03-31 00:13:20 -04:00
parent d181635922
commit 840f2194f5
Signed by untrusted user who does not match committer: pch
GPG key ID: 8F0826ECF7302C63

View file

@ -13,7 +13,7 @@ FROM composer:2 AS composer-builder
WORKDIR /app WORKDIR /app
COPY composer.json composer.lock ./ COPY composer.json composer.lock ./
# Mount auth.json as a secret so it never gets baked into the image # 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 \ composer install \
--no-dev \ --no-dev \
--no-interaction \ --no-interaction \