Frontend version: disable - method to be polished
All checks were successful
/ build (push) Successful in 27s

This commit is contained in:
phil 2024-11-04 03:49:11 +01:00
parent c4c5fd9f11
commit 963d3437c0
4 changed files with 16 additions and 4 deletions

View file

@ -1,8 +1,11 @@
- name: Build container
- name: Build container image
hosts: localhost
gather_facts: false
vars:
repository: tiptop:5000
force_rm: false
cache: false
tasks:
- name: Install dependencies
command: pnpm install
@ -28,8 +31,10 @@
path: "{{ playbook_dir }}"
build:
format: oci
cache: no
force_rm: "{{ force_rm }}"
cache: "{{ cache }}"
file: Containerfile
extra_args: "--build-arg APP_VERSION={{ version.stdout }}"
push: true
push_args:
dest: "{{ repository }}/treetrail-frontend:{{ version.stdout }}"