kciter / aws-ecr-action

This Action allows you to create Docker images and push into a ECR repository.
MIT License
146 stars 116 forks source link

Using path: #28

Open ghost opened 3 years ago

ghost commented 3 years ago

To DevOps,

I am using the following:

with: access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} account_id: ${{ secrets.AWS_ACCOUNT_ID }} repo: docker/repo region: us-east-1 create_repo: true path: ./GHConApp3

And I get:

== FINISHED LOGIN == START DOCKERIZE "docker build" requires exactly 1 argument.

How can I see the docker build command with arguments.
Thanks, Marc

lanixxfielmann commented 3 years ago
❯ docker run -it --rm --entrypoint=/bin/sh ghcr.io/kciter/aws-ecr-action:latest
/ # grep -risn "INPUT_PATH" /entrypoint.sh
110:  docker build $INPUT_EXTRA_BUILD_ARGS -f $INPUT_DOCKERFILE $docker_tag_args $INPUT_PATH
/ #

INPUT_PATH is missing