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