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