diff --git a/templates/molecule-action.yml.j2 b/templates/molecule-action.yml.j2 index 05a4bd9..e538457 100644 --- a/templates/molecule-action.yml.j2 +++ b/templates/molecule-action.yml.j2 @@ -48,6 +48,7 @@ jobs: - name: molecule uses: robertdebock/molecule-action@5.0.2 with: + namespace: {{ docker_namespace }} image: {% raw %}${{ matrix.config.image }}{% endraw %} tag: {% raw %}${{ matrix.config.tag }}{% endraw %} diff --git a/templates/molecule.yml.j2 b/templates/molecule.yml.j2 index 19cb639..caa73b1 100644 --- a/templates/molecule.yml.j2 +++ b/templates/molecule.yml.j2 @@ -13,7 +13,7 @@ driver: name: docker platforms: - name: "{{ role_name | regex_replace('_', '') }}-${image:-{{ docker_image }}}-${tag:-{{ docker_tag }}}${TOX_ENVNAME}" - image: "${namespace:-{{ docker_namespace }}}/${image:-{{ docker_image }}}:${tag:-{{ docker_tag }}}" + image: "${namespace:-{{ docker_namespace }}}/docker-${image:-{{ docker_image }}}-systemd:${tag:-{{ docker_tag }}}" command: /sbin/init volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro