GHP publish
This commit is contained in:
21
build.yaml
Normal file
21
build.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Find all dirs
|
||||
find:
|
||||
paths: .
|
||||
file_type: directory
|
||||
recurse: false
|
||||
register: dirs
|
||||
|
||||
- debug:
|
||||
msg: "{{ item.path }}"
|
||||
loop: "{{ dirs.files }}"
|
||||
|
||||
- name: Build image
|
||||
community.general.make:
|
||||
chdir: "{{ item }}"
|
||||
target: "{{ target | default('all') }}"
|
||||
params:
|
||||
REGISTRY: "{{ registry | default('registry.0xace.cc') }}"
|
||||
loop: "{{ dirs.files | map(attribute='path') | list }}"
|
Reference in New Issue
Block a user