Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with tag generation with update_service command #206

Open
alexgorb2016 opened this issue Oct 31, 2023 · 1 comment
Open

Problem with tag generation with update_service command #206

alexgorb2016 opened this issue Oct 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@alexgorb2016
Copy link

Orb version:

v4.0.0

What happened:

with this code orb generates full sha1 tag for docker image, but we want to see it in a shorter way.
- aws-ecs/update_service:
cluster: << parameters.environment >>
family: "test-<<parameters.environment>>"
container_image_name_updates: "container=test-<<parameters.environment>>,tag=${CIRCLE_SHA1:0:9}"

Expected behavior:

image url should looks like 123456789 but not full sha1

Additional Information:

It works as expected with previous version of this orb.

@marboledacci
Copy link
Contributor

This is a problem with the circleci cli, which is used to manage the environment variables in the configurations, for now, you can use the workaround provided on CircleCI-Public/aws-ecr-orb#329 until the fix is finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants