Skip to content

Commit 2cc8c00

Browse files
committed
fix: small correction
1 parent cbac290 commit 2cc8c00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/aws.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ env:
3535
ECR_REPOSITORY: lab-repository # set this to your Amazon ECR repository name
3636
ECS_SERVICE: LabManager-task-service-first # set this to your Amazon ECS service name
3737
ECS_CLUSTER: excited-fish # set this to your Amazon ECS cluster name
38-
ECS_TASK_DEFINITION: ../../labman/LabManager-task-definition.json # set this to the path to your Amazon ECS task definition
38+
ECS_TASK_DEFINITION: labman/LabManager-task-definition.json # set this to the path to your Amazon ECS task definition
3939
# file, e.g. .aws/task-definition.json
4040
CONTAINER_NAME: nextjs-lab # set this to the name of the container in the
4141
# containerDefinitions section of your task definition
@@ -81,7 +81,7 @@ jobs:
8181
# Build a docker container and
8282
# push it to ECR so that it can
8383
# be deployed to ECS.
84-
docker build --build-arg DATABASE_URL="$DATABASE_URL" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ../../labman
84+
docker build --build-arg DATABASE_URL="$DATABASE_URL" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG /labman
8585
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
8686
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
8787

0 commit comments

Comments
 (0)