mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-21 00:55:46 +03:00
wip - nicegui
This commit is contained in:
parent
c3ed45a21b
commit
85b0b3fdc5
39 changed files with 2748 additions and 896 deletions
29
anvil/ansible/playbooks/project_build.yml
Normal file
29
anvil/ansible/playbooks/project_build.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
- name: Build project
|
||||
hosts: host.ublue.local
|
||||
gather_facts: true
|
||||
pre_tasks:
|
||||
- name: DEBUG - forge variables
|
||||
ansible.builtin.include_role:
|
||||
name: debug_forge_vars
|
||||
|
||||
tasks:
|
||||
- name: Build and push image to registry
|
||||
containers.podman.podman_image:
|
||||
name: "{{ forge_git_repository_url | regex_search(__regex_search) }}"
|
||||
tag: latest
|
||||
path: "{{ forge_git_repository_destination }}"
|
||||
build:
|
||||
file: Containerfile
|
||||
format: oci
|
||||
pull: false
|
||||
push: true
|
||||
push_args:
|
||||
dest: "{{ forge_registry_url }}"
|
||||
vars:
|
||||
__regex_search: (?<=/)[^/]+(?=\.git)
|
||||
register: __podman_image_info
|
||||
|
||||
- name: INFO | Status from build and push
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ __podman_image_info }}"
|
Loading…
Add table
Add a link
Reference in a new issue