switch to golang wrapper for enet
This commit is contained in:
parent
4420b4e061
commit
ee3b8d3490
10 changed files with 188 additions and 194 deletions
16
backend/build.sh
Executable file
16
backend/build.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
export AWS_PROFILE=personal
|
||||
export AWS_REGION=eu-central-1
|
||||
|
||||
REPO_NAME="love2d-backend-homelabstack"
|
||||
|
||||
if ! aws ecr describe-repositories --repository-names "$REPO_NAME" >/dev/null 2>&1; then
|
||||
aws ecr create-repository --repository-name "$REPO_NAME"
|
||||
fi
|
||||
|
||||
docker buildx build --platform linux/amd64,linux/arm64 -t 853019563312.dkr.ecr.eu-central-1.amazonaws.com/gemini-capsule-homelabstack:latest --push .
|
||||
|
||||
echo "Docker image built and pushed to AWS ECR"
|
||||
Loading…
Add table
Add a link
Reference in a new issue