testing..
All checks were successful
Build and Push to Forgejo Registry / build (push) Successful in 6s
All checks were successful
Build and Push to Forgejo Registry / build (push) Successful in 6s
This commit is contained in:
parent
1c1b2fb505
commit
7ded4d2509
1 changed files with 15 additions and 2 deletions
17
build.sh
17
build.sh
|
@ -44,6 +44,19 @@ container="${domain}/${image}:${tag}"
|
||||||
# echo_error "Dockerfile does not exist" &&
|
# echo_error "Dockerfile does not exist" &&
|
||||||
# exit 1
|
# exit 1
|
||||||
#
|
#
|
||||||
docker build -t "$container" .
|
# docker build -t "$container" .
|
||||||
|
#
|
||||||
|
# docker push "$container"
|
||||||
|
echo "Would push $container"
|
||||||
|
|
||||||
docker push "$container"
|
echo "is docker installed?"
|
||||||
|
if command_exists docker; then
|
||||||
|
echo "Yes!"
|
||||||
|
else
|
||||||
|
echo "No!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "What is the hostname? What is path?"
|
||||||
|
|
||||||
|
echo "HOSTNAME: $(hostname)"
|
||||||
|
echo "PATH: ${PATH}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue