Add full path to image to prevent podman asking which registry to use

This commit is contained in:
Laurent Indermuehle 2023-02-23 12:35:18 +01:00
parent 41cb5de320
commit 7e2e5a3e94
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 6 additions and 6 deletions

View file

@ -286,7 +286,7 @@ jobs:
services:
db_primary:
image: ${{ matrix.db_engine_version }}
image: docker.io/library/${{ matrix.db_engine_version }}
env:
MARIADB_ROOT_PASSWORD: msandbox
MYSQL_ROOT_PASSWORD: msandbox
@ -302,7 +302,7 @@ jobs:
--health-retries 6
db_replica1:
image: ${{ matrix.db_engine_version }}
image: docker.io/library/${{ matrix.db_engine_version }}
env:
MARIADB_ROOT_PASSWORD: msandbox
MYSQL_ROOT_PASSWORD: msandbox
@ -316,7 +316,7 @@ jobs:
--health-retries 6
db_replica2:
image: ${{ matrix.db_engine_version }}
image: docker.io/library/${{ matrix.db_engine_version }}
env:
MARIADB_ROOT_PASSWORD: msandbox
MYSQL_ROOT_PASSWORD: msandbox

View file

@ -27,7 +27,7 @@ test-integration:
--network podman \
--publish 3307:3306 \
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
$(db_engine_version) \
docker.io/library/$(db_engine_version) \
mysqld
podman run \
--detach \
@ -37,7 +37,7 @@ test-integration:
--network podman \
--publish 3308:3306 \
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
$(db_engine_version) \
docker.io/library/$(db_engine_version) \
mysqld
podman run \
--detach \
@ -47,7 +47,7 @@ test-integration:
--network podman \
--publish 3309:3306 \
--health-cmd 'mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1' \
$(db_engine_version) \
docker.io/library/$(db_engine_version) \
mysqld
# Setup replication and restart containers
podman exec primary bash -c 'echo -e [mysqld]\\nserver-id=1\\nlog-bin=/var/lib/mysql/primary-bin > /etc/mysql/conf.d/replication.cnf'