appleboy / appleboy/docker-ecr-action
Multiple Tags Not Working
- Dominant language
- Dockerfile
- Stars
- 25
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I'm using this workflow:
```yaml
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Build Docker image and push it to the registry
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Upload image to ECR
uses: appleboy/docker-ecr-action@master
with:
access_key: ${{ secrets.ACCESS_KEY_ID }}
secret_key: ${{ secrets.SECRET_ACCESS_KEY }}
cache_from: ${{ secrets.CACHE }}
repo: mongo-backups
region: eu-west-1
tags: 'latest,${{ env.RELEASE_VERSION }}'
dockerfile: Dockerfile
```
I verified that the tags value is: "latest,1.13.0"
But it adds no tag but `latest`:

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the GitHub Actions workflow using the `tags` input set to `latest,1.13.0`, with the Dockerfile and Amazon ECR settings shown in the issue. Trace how the action parses and applies multiple tags, then verify the published ECR image contains both `latest` and `1.13.0`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, github-actions
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100