DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

127d39d7454b9289dfda7372f25d2e2cdc4bc2c6 — Jonni Liljamo a month ago 882be8c
feat: script for building and pushing to own registry
1 files changed, 5 insertions(+), 0 deletions(-)

A scripts/buildandpush.sh
A scripts/buildandpush.sh => scripts/buildandpush.sh +5 -0
@@ 0,0 1,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"