7 lines
132 B
Bash
7 lines
132 B
Bash
#!/bin/sh
|
|
|
|
docker build --rm -t llehouerou/dnsupdater:latest .
|
|
rc=$?
|
|
if [[ ${rc} == 0 ]]; then
|
|
docker push llehouerou/dnsupdater
|
|
fi |