From 50601d86cf1c8d0d0621ba2bd92624eff9bfb9e7 Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 1 Nov 2024 06:21:50 +0100 Subject: [PATCH] Ansible: really build container (force) --- build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.yaml b/build.yaml index 9501b13..928f666 100644 --- a/build.yaml +++ b/build.yaml @@ -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]