DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 127d39d7454b9289dfda7372f25d2e2cdc4bc2c6 liljamo-dev-zola/scripts/buildandpush.sh -rwxr-xr-x 311 bytes
127d39d7Jonni Liljamo feat: script for building and pushing to own registry a month ago
                                                                                
1
2
3
4
5
#!/usr/bin/env sh
export COMMIT=$(git log -1 --pretty=%h)
podman build -t oci:5000/liljamo/liljamo-dev-zola:latest -t oci:5000/liljamo/liljamo-dev-zola:"$COMMIT" .
podman push --tls-verify=false oci:5000/liljamo/liljamo-dev-zola:latest
podman push --tls-verify=false oci:5000/liljamo/liljamo-dev-zola:"$COMMIT"