aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2024-10-01 16:04:03 +0100
committerdiogo464 <[email protected]>2024-10-01 16:04:03 +0100
commitece33434ee227d864ac4b2aeecce3b8f46085567 (patch)
treead8b77255999779b431f657f2f21ebb8745c7465 /build.sh
parent1422e5893b7e8563431507a2058967082ec4f4cb (diff)
added build files
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..ffc3cde
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,9 @@
1#!/usr/bin/env sh
2
3CGO_ENABLED=0 go build . || exit 1
4docker build -t git.d464.sh/diogo464/belverde-fire -f Containerfile . || exit 1
5
6if [ "$PUSH" = "1" ]; then
7 docker push git.d464.sh/diogo464/belverde-fire
8fi
9