Files
enigma/build-and-push.sh
capitano 3089316a25
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Update Enigma BBS deployment
2026-04-07 16:35:44 +02:00

15 lines
390 B
Bash
Executable File

#!/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"