Skip to content

Commit

Permalink
Fixed docker credentials are nto passed to build in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 15, 2024
1 parent ac86316 commit 7bc7670
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .drevops/tests/bats/_helper.deployment.bash
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ provision_site() {

if [ "${should_build:-}" = "1" ]; then
step "Build project"

export DOCKER_USER="${TEST_DOCKER_USER?Test Docker user is not set}"
export DOCKER_PASS="${TEST_DOCKER_PASS?Test Docker pass is not set}"

export DREVOPS_PROVISION_POST_OPERATIONS_SKIP=1

ahoy build
sync_to_host
fi
Expand Down

0 comments on commit 7bc7670

Please sign in to comment.