Update Enigma BBS deployment
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
This commit is contained in:
14
build-and-push.sh
Executable file
14
build-and-push.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Building Enigma BBS Docker image from git repo..."
|
||||
cd /home/capitano/kubernetes/infrastructure/enigma
|
||||
|
||||
# Build the image
|
||||
docker build -t git.giaco.net/enigma/enigmabbs:latest -f Dockerfile .
|
||||
|
||||
# Push to registry
|
||||
echo "Pushing to git.giaco.net..."
|
||||
docker push git.giaco.net/enigma/enigmabbs:latest
|
||||
|
||||
echo "Done! Image pushed to git.giaco.net/enigma/enigmabbs:latest"
|
||||
Reference in New Issue
Block a user