appleboy / appleboy/docker-ecr-action
Warning: Unexpected input(s) 'build_args'
- Dominant language
- Dockerfile
- Stars
- 25
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
When performing the following operation from a Rails app:
```
- name: Build and push image to ECR
id: build_push_docker_image
uses: appleboy/docker-ecr-action@master
env:
REPOSITORY_REGISTRY: XXXX
REPOSITORY_NAME: application
MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
with:
access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: YYYY
cache_from: ${{ env.REPOSITORY_REGISTRY }}/${{ env.REPOSITORY_NAME }}
registry: ${{ env.REPOSITORY_REGISTRY }}
repo: ${{ env.REPOSITORY_NAME }}
dockerfile: Dockerfile
tags: stage-${{ github.sha }}
force_tag: true
build_args: |
"--secret id=master_key,env=MASTER_KEY"
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Use the supplied GitHub Actions workflow as the reproduction case and inspect how the action declares inputs and invokes the Docker build. Confirm the warning disappears when build_args is provided and that the requested build argument is accepted during the image build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, github-actions
- Domain
- ci-cd, cloud, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100