forked from philorg/treetrail-frontend
Ansible: really build container (force)
This commit is contained in:
parent
ea8f037888
commit
50601d86cf
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
repository: tiptop:5000
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
command: pnpm install
|
command: pnpm install
|
||||||
|
@ -21,12 +24,15 @@
|
||||||
containers.podman.podman_image:
|
containers.podman.podman_image:
|
||||||
name: "treetrail-frontend:{{ version.stdout }}"
|
name: "treetrail-frontend:{{ version.stdout }}"
|
||||||
state: build
|
state: build
|
||||||
|
force: true
|
||||||
path: "{{ playbook_dir }}"
|
path: "{{ playbook_dir }}"
|
||||||
build:
|
build:
|
||||||
format: oci
|
format: oci
|
||||||
force_rm: yes
|
|
||||||
cache: no
|
cache: no
|
||||||
file: Containerfile
|
file: Containerfile
|
||||||
|
push: true
|
||||||
|
push_args:
|
||||||
|
dest: "{{ repository }}/treetrail-frontend"
|
||||||
#quadlet_options:
|
#quadlet_options:
|
||||||
# - |
|
# - |
|
||||||
# [Install]
|
# [Install]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue