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

Is it possible to pass dynamically the name of the previous built image? #386

Closed
existe-deja opened this issue May 26, 2021 · 2 comments
Closed
Labels

Comments

@existe-deja
Copy link

Hi,

I have a node project served through a docker container. I build my docker image once in my CI and I push it to my registry with the commit hash as image name. This way I can use this temporary build as a cache image. at the end of the pipeline, I need to release it through tags major.minor.fix and latest.
Problem is the plugin will need to pull the image first, and I can't rely on latest because latest can be modified during while the pipeline isn't finished. I need to pass my cache image instead.

Do you have an idea on how to do this?

@existe-deja
Copy link
Author

Can the baseImageTag be also an environment variable?

github-actions bot pushed a commit that referenced this issue Aug 17, 2021
# [1.1.0](v1.0.7...v1.1.0) (2021-08-17)

### Features

* **env:** add env DOCKER_BASE_IMAGE_TAG to set baseImageTag ([8843469](8843469)), closes [#386](#386)
@github-actions
Copy link

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

1 participant