Ansible: really build container (force)
Some checks failed
/ build (push) Failing after 25s

This commit is contained in:
phil 2024-11-01 06:21:50 +01:00
parent ea8f037888
commit 50601d86cf

View file

@ -1,5 +1,8 @@
- name: Build containers
hosts: localhost
gather_facts: false
vars:
repository: tiptop:5000
tasks:
- name: Install dependencies
command: pnpm install
@ -21,12 +24,15 @@
containers.podman.podman_image:
name: "treetrail-frontend:{{ version.stdout }}"
state: build
force: true
path: "{{ playbook_dir }}"
build:
format: oci
force_rm: yes
cache: no
file: Containerfile
push: true
push_args:
dest: "{{ repository }}/treetrail-frontend"
#quadlet_options:
# - |
# [Install]