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

Check if image already exists on ECR #11

Open
gutomaia opened this issue Oct 11, 2020 · 2 comments
Open

Check if image already exists on ECR #11

gutomaia opened this issue Oct 11, 2020 · 2 comments

Comments

@gutomaia
Copy link

gutomaia commented Oct 11, 2020

First, congrats for the action. It really works, although, I have an use case that I'm strugling to make it go with.

My usual docker image has an base image that does not change as much. Then I really would like an skipIfTagExists or something like that.

Ex:
skipIfImageExists = v0.0.23

If that image tag already exists on ECR, there is no need to create the docker image or push anything. What do you think?

@gutomaia gutomaia changed the title Check if register already exists. Check if tag already exists on ECR Oct 11, 2020
@gutomaia gutomaia changed the title Check if tag already exists on ECR Check if image already exists on ECR Oct 11, 2020
@modullar
Copy link

I'd rather want to remove the latest image that existed before pushing and tag the built updated built image with latest I still haven't figured out how to do this yet

@bryan-rhm
Copy link

I also would like to have this feature, on my use case we have tag immutability, so if the job is rerun and the image has been pushed it will fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants