Skip to content

Commit ec452a7

Browse files
committed
[misc] connect to docker if env set
1 parent 70ff8bd commit ec452a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
test-db-database: ${{ env.TEST_DB_DATABASE }}
5858
test-db-port: ${{ env.TEST_DB_PORT }}
5959
additional-conf: ${{ matrix.additional-conf || '' }}
60-
registry-user: ${{ matrix.db-type == 'enterprise' && secrets.ENTERPRISE_USER || '' }}
61-
registry-password: ${{ matrix.db-type == 'enterprise' && secrets.ENTERPRISE_TOKEN || '' }}
60+
registry-user: ${{ matrix.db-type == 'enterprise' && secrets.ENTERPRISE_USER || (secrets.DOCKER_PWD != '' && 'mariadbtest' || '') }}
61+
registry-password: ${{ matrix.db-type == 'enterprise' && secrets.ENTERPRISE_TOKEN || secrets.DOCKER_PWD }}
6262
os: ${{ matrix.os }}
6363

6464
- uses: actions/setup-java@v4

0 commit comments

Comments
 (0)