remove old node code and try to fix bluesky bug
This commit is contained in:
parent
d0a08a5e3f
commit
a165321a8e
9 changed files with 36 additions and 706 deletions
11
build.sh
11
build.sh
|
|
@ -3,7 +3,14 @@
|
|||
set -e
|
||||
|
||||
export AWS_PROFILE=personal
|
||||
export AWS_REGION=eu-central-1
|
||||
|
||||
docker buildx build --platform linux/amd64,linux/arm64 -t 853019563312.dkr.ecr.eu-central-1.amazonaws.com/micro-blog-fetchers-homelabstack:latest --push .
|
||||
REPO_NAME="micro-blog-fetchers-homelabstack"
|
||||
|
||||
echo "Image pushed to ECR"
|
||||
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/$REPO_NAME:latest" --push .
|
||||
|
||||
echo "Docker image built and pushed to AWS ECR"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue