#!/bin/sh docker build -t registry.lehouerou.net/restic-backup . rc=$? if [[ ${rc} == 0 ]]; then docker push registry.lehouerou.net/restic-backup fi