Rely on podman's built-in update mechanism

This commit is contained in:
Ohad Livne 2025-12-24 19:45:24 +02:00
parent db05998d6c
commit f6544f6dd7
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 16 additions and 17 deletions

View file

@ -3,4 +3,13 @@
set -euo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
update-container-images IMAGES=(
# keep-sorted start
docker.io/ollama/ollama:latest
docker.io/plantuml/plantuml-server:jetty
ghcr.io/hadolint/hadolint:latest
lscr.io/linuxserver/transmission:latest
# keep-sorted end
)
podman pull "${IMAGES[@]}"

View file

@ -1,15 +0,0 @@
#! /usr/bin/bash
set -euo pipefail
IFS=$'\n\t'
IMAGES=(
# keep-sorted start
docker.io/ollama/ollama:latest
docker.io/plantuml/plantuml-server:jetty
ghcr.io/hadolint/hadolint:latest
lscr.io/linuxserver/transmission:latest
# keep-sorted end
)
podman pull "${IMAGES[@]}"

View file

@ -23,9 +23,14 @@ git_sync_update() {
resync-git-sync resync-git-sync
} }
podman_update() {
echo Updating podman images...
podman auto-update
}
apt_update apt_update
pipx_update pipx_update
cargo_update cargo_update
ghup ghup
git_sync_update git_sync_update
update-container-images podman_update