-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Description
I was just following along with the tutorial here:
https://aws.amazon.com/blogs/opensource/github-actions-aws-fargate/
I seem to be running into an error on the build tag and push step, everything before is working. I have not pushed a new container image to ECR before so it could be something I don't understand about how that works but it appears the dockerfile does not exist?
console output for this step:
# Build a docker container and
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
shell: /bin/bash -e {0}
env:
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
ECR_REGISTRY: ***.dkr.ecr.us-east-1.amazonaws.com
ECR_REPOSITORY: my-ecr-repo
IMAGE_TAG: 0653508e9470c725335afc5a5c61667211fe9cc8
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/runner/work/FargateActionDemo/FargateActionDemo/Dockerfile: no such file or directory
##[error]Process completed with exit code 1.Metadata
Metadata
Assignees
Labels
No labels
