diff options
| author | spmfox <spmfox@foxwd.com> | 2024-05-28 10:29:31 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-05-28 10:29:31 -0400 |
| commit | db610a23f49958d98858705f20fd63208d7937c9 (patch) | |
| tree | 9cecbbc895142beb0491db2d1511856f1249ade1 /templates/bootcblade-rebuild.service.j2 | |
| parent | a2f4ef8a1d83ac42195ad9c10d95572b44609dcd (diff) | |
adding --no-cache and --pull=always to the update service and update.yml, we want the build to be started fresh each time
Diffstat (limited to 'templates/bootcblade-rebuild.service.j2')
| -rw-r--r-- | templates/bootcblade-rebuild.service.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/bootcblade-rebuild.service.j2 b/templates/bootcblade-rebuild.service.j2 index 525978a..17aa89a 100644 --- a/templates/bootcblade-rebuild.service.j2 +++ b/templates/bootcblade-rebuild.service.j2 @@ -2,5 +2,5 @@ Description=BootcBlade rebuild service [Service] -ExecStart=/usr/bin/podman build -t localhost/bootcblade -f /root/bootcblade.containerfile +ExecStart=/usr/bin/podman build -t localhost/bootcblade -f /root/bootcblade.containerfile --no-cache --pull=always ExecStartPost=/usr/bin/bash -c "/usr/bin/sleep 10 ; /usr/bin/bootc update && /usr/bin/podman image prune -f" |
