Skip to content

Commit 22afc27

Browse files
committed
docs: explicitly metion -f compose.yml in deploy guids
1 parent 2233e95 commit 22afc27

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

2 files changed

+2
-2
lines changed

adminforth/documentation/blog/2025-02-19-compose-aws-ec2-ecr-terraform-github-actions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ resource "null_resource" "sync_files_and_run" {
465465
aws ecr get-login-password --region ${local.aws_region} --profile myaws | docker login --username AWS --password-stdin ${aws_ecr_repository.myadmin_repo.repository_url}
466466
467467
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
469469
470470
# if you will change host, pleasee add -o StrictHostKeyChecking=no
471471
echo "Copy files to the instance"

adminforth/documentation/blog/2025-02-19-compose-ec2-deployment-github-actions-registry/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ resource "null_resource" "sync_files_and_run" {
416416
echo '{"auths":{"appserver.local:5000":{"auth":"'$(echo -n "ci-user:$(cat ./.keys/registry.pure)" | base64 -w 0)'"}}}' > ~/.docker/config.json
417417
418418
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
420420
421421
# compose temporarily it is not working https://github.com/docker/compose/issues/11072#issuecomment-1848974315
422422
# docker compose --progress=plain -p app -f ./compose.yml build --push

0 commit comments

Comments
 (0)