File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
adminforth/documentation/blog
2025-02-19-compose-aws-ec2-ecr-terraform-github-actions
2025-02-19-compose-ec2-deployment-github-actions-registry Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ resource "null_resource" "sync_files_and_run" {
465
465
aws ecr get-login-password --region ${local.aws_region} --profile myaws | docker login --username AWS --password-stdin ${aws_ecr_repository.myadmin_repo.repository_url}
466
466
467
467
echo "Running build"
468
- env $(cat .env.ecr | grep -v "#" | xargs) docker buildx bake --progress=plain --push --allow=fs.read=..
468
+ env $(cat .env.ecr | grep -v "#" | xargs) docker buildx bake --progress=plain --push --allow=fs.read=.. -f compose.yml
469
469
470
470
# if you will change host, pleasee add -o StrictHostKeyChecking=no
471
471
echo "Copy files to the instance"
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ resource "null_resource" "sync_files_and_run" {
416
416
echo '{"auths":{"appserver.local:5000":{"auth":"'$(echo -n "ci-user:$(cat ./.keys/registry.pure)" | base64 -w 0)'"}}}' > ~/.docker/config.json
417
417
418
418
echo "Running build"
419
- docker buildx bake --progress=plain --push --allow=fs.read=..
419
+ docker buildx bake --progress=plain --push --allow=fs.read=.. -f compose.yml
420
420
421
421
# compose temporarily it is not working https://github.com/docker/compose/issues/11072#issuecomment-1848974315
422
422
# docker compose --progress=plain -p app -f ./compose.yml build --push
You can’t perform that action at this time.
0 commit comments