Skip to content

Commit 47295dd

Browse files
fixed env var passthrough for AWS CodeBuild
1 parent b004ff0 commit 47295dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildspec.test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ phases:
66
commands:
77
# pre-build custom image/container
88
- docker-compose -f docker-compose.unittest.yml build unittest-php73
9-
# install using integrated composer
10-
- docker-compose -f docker-compose.unittest.yml run --no-deps unittest-php73 composer update
9+
# install using integrated composer - NOTE: passthrough env var 'COMPOSER_AUTH'
10+
- docker-compose -f docker-compose.unittest.yml run --no-deps -e COMPOSER_AUTH unittest-php73 composer update
1111
# alternatively: install on agent, w/o platform checks
1212
# - composer update --ignore-platform-reqs --no-progress --no-interaction
1313

0 commit comments

Comments
 (0)