system-config/containers/push-all.sh
Mathieu Strypsteen 28a3099c3c
All checks were successful
ShellCheck / shellcheck (push) Successful in 36s
Update code-server packages
2024-07-11 17:05:58 +02:00

8 lines
299 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$0")"
for container in */; do
container=${container%/}
id=$(podman build --pull=always --ulimit nofile=-1:-1 -q "$container")
echo | podman push --compress --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.com/mathieu/"$container"
done