mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
Update build-and-push.yml to use community.docker
This commit is contained in:
@@ -3,15 +3,15 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
- community.general
|
- community.docker
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Build and (optionally) push operator image
|
- name: Build and (optionally) push operator image
|
||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ operator_image }}:{{ operator_version }}"
|
name: "{{ operator_image }}:{{ operator_version }}"
|
||||||
pull: no
|
source: "build"
|
||||||
push: "{{ push_image | bool }}"
|
push: "{{ push_image }}"
|
||||||
build:
|
build:
|
||||||
dockerfile: "build/Dockerfile"
|
dockerfile: "build/Dockerfile"
|
||||||
path: "../"
|
path: "../"
|
||||||
force: yes
|
force_source: "yes"
|
||||||
|
|||||||
Reference in New Issue
Block a user