ソースを参照

fix: Replace Bitnami images in workflows

David Höck 4 ヶ月 前
コミット
9a6ae0796a
1 ファイル変更9 行追加7 行削除
  1. 9 7
      .github/workflows/build_and_test.yml

+ 9 - 7
.github/workflows/build_and_test.yml

@@ -81,18 +81,20 @@ jobs:
             mariadb:
                 # With v11.6.2+, a default was changed, (https://mariadb.com/kb/en/innodb-system-variables/#innodb_snapshot_isolation)
                 # which causes e2e test failures currently
-                image: bitnami/mariadb:11.5
+                image: mariadb:11.5
                 env:
-                    MARIADB_ROOT_USER: vendure
+                    MARIADB_USER: vendure
+                    MARIADB_PASSWORD: password
                     MARIADB_ROOT_PASSWORD: password
                 ports:
                     - 3306
                 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
             mysql:
-                image: bitnami/mysql:8.0
+                image: mysql:8.0
                 env:
-                    MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
-                    MYSQL_ROOT_USER: vendure
+                    MYSQL_DATABASE: vendure
+                    MYSQL_USER: vendure
+                    MYSQL_PASSWORD: password
                     MYSQL_ROOT_PASSWORD: password
                 ports:
                     - 3306
@@ -122,9 +124,9 @@ jobs:
                     - 9200
                 options: --health-cmd="curl --silent --fail localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=3
             redis:
-                image: bitnami/redis:7.4.1
+                image: redis:7.4.1
                 env:
-                    ALLOW_EMPTY_PASSWORD: yes
+                    # Redis official image doesn't require auth by default
                 ports:
                     - 6379
         strategy: