From 420fa3254eb18784fc115003bfa8953060445d74 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Tue, 22 Jul 2025 22:27:29 +0100 Subject: updated container image name --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index e39ad0d..5b6bd65 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,9 @@ #!/usr/bin/sh +IMAGE_NAME=cr.d464.sh/whoami:latest + CGO_ENABLED=0 go build . || exit 1 -docker build -t git.d464.sh/code/whoami:latest -f Containerfile . || exit 1 +docker build -t $IMAGE_NAME -f Containerfile . || exit 1 if [ "$PUSH" = "1" ]; then - docker push git.d464.sh/code/whoami:latest || exit 1 + docker push $IMAGE_NAME || exit 1 fi -- cgit