diff --git a/.github/workflows/ci_bats_mariadb.yaml b/.github/workflows/ci_bats_mariadb.yaml index c48c73f74..be313a878 100644 --- a/.github/workflows/ci_bats_mariadb.yaml +++ b/.github/workflows/ci_bats_mariadb.yaml @@ -17,7 +17,7 @@ jobs: mariadb: image: mariadb:latest env: - MYSQL_ROOT_PASSWORD: mysql + MYSQL_ROOT_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} ports: - 3306:3306 steps: @@ -50,7 +50,7 @@ jobs: DB_BACKEND: mysql MYSQL_HOST: 127.0.0.1 MYSQL_PORT: 3306 - MYSQL_PASSWORD: mysql + MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} MYSQL_USER: root - name: "BATS: run tests" @@ -59,5 +59,5 @@ jobs: DB_BACKEND: mysql MYSQL_HOST: 127.0.0.1 MYSQL_PORT: 3306 - MYSQL_PASSWORD: mysql + MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} MYSQL_USER: root diff --git a/.github/workflows/ci_bats_mysql.yaml b/.github/workflows/ci_bats_mysql.yaml index 9739ee9ed..9571d11e1 100644 --- a/.github/workflows/ci_bats_mysql.yaml +++ b/.github/workflows/ci_bats_mysql.yaml @@ -17,7 +17,7 @@ jobs: mariadb: image: mysql:latest env: - MYSQL_ROOT_PASSWORD: mysql + MYSQL_ROOT_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} ports: - 3306:3306 steps: @@ -50,7 +50,7 @@ jobs: DB_BACKEND: mysql MYSQL_HOST: 127.0.0.1 MYSQL_PORT: 3306 - MYSQL_PASSWORD: mysql + MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} MYSQL_USER: root - name: "BATS: run tests" @@ -59,5 +59,5 @@ jobs: DB_BACKEND: mysql MYSQL_HOST: 127.0.0.1 MYSQL_PORT: 3306 - MYSQL_PASSWORD: mysql + MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} MYSQL_USER: root diff --git a/.github/workflows/ci_bats_postgres.yaml b/.github/workflows/ci_bats_postgres.yaml index fad85e7f6..ebb941b73 100644 --- a/.github/workflows/ci_bats_postgres.yaml +++ b/.github/workflows/ci_bats_postgres.yaml @@ -17,7 +17,7 @@ jobs: postgres: image: postgres:latest env: - POSTGRES_PASSWORD: postgres + POSTGRES_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} ports: - 5432:5432 options: >- @@ -55,7 +55,7 @@ jobs: DB_BACKEND: postgres POSTGRES_HOST: 127.0.0.1 POSTGRES_PORT: 5432 - POSTGRES_PASSWORD: postgres + POSTGRES_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} POSTGRES_USER: postgres - name: "BATS: run tests" @@ -64,5 +64,5 @@ jobs: DB_BACKEND: postgres POSTGRES_HOST: 127.0.0.1 POSTGRES_PORT: 5432 - POSTGRES_PASSWORD: postgres + POSTGRES_PASSWORD: ${{ secrets.DATABASE_PASSWORD }} POSTGRES_USER: postgres