1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-03-22 02:29:08 +00:00

Reapply "Fix transports issues in podman_image (#619)" (#754) (#755)

This reverts commit 391e4c54ef.

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2024-05-29 18:27:07 +03:00 committed by GitHub
parent 0e24de1dd3
commit 4985d48415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 546 additions and 39 deletions

View file

@ -227,7 +227,7 @@
file: /var/tmp/build/Dockerfile
register: oci_build5
- name: Build OCI image, point to location of Containerfile and path
- name: Build OCI image with no Containerfile and path
containers.podman.podman_image:
executable: "{{ test_executable | default('podman') }}"
name: testimage5x
@ -350,6 +350,28 @@
- item.Architecture == "arm"
loop: "{{ imageinfo_arch.images }}"
- name: Build Docker image
containers.podman.podman_image:
executable: "{{ test_executable | default('podman') }}"
name: quay.io/testing/testimage
path: /var/tmp/build
register: build_image1
- name: Build Docker image - 2
containers.podman.podman_image:
executable: "{{ test_executable | default('podman') }}"
name: quay.io/testing/testimage:draft
path: /var/tmp/build
- name: Build Docker image
containers.podman.podman_image:
executable: "{{ test_executable | default('podman') }}"
name: testimage2:testtag
path: /var/tmp/build
register: build_image2
- include_tasks: idem_push.yml
- name: Create a Quadlet for image with filename
containers.podman.podman_image:
executable: "{{ test_executable | default('podman') }}"
@ -490,4 +512,8 @@
- quay.io/coreos/etcd:v3.3.11
- localhost/testimage
- localhost/testimage2
- localhost/testimage2:testtag
- localhost/testimage3
- localhost/dockerimage
- quay.io/testing/testimage
- quay.io/testing/testimage:draft