Mathieu Strypsteen
28a3099c3c
All checks were successful
ShellCheck / shellcheck (push) Successful in 36s
8 lines
299 B
Bash
Executable file
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
|