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