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

Push base docker images with immutable tag, instead of only having latest tag #2778

Open
vroad opened this issue Nov 21, 2020 · 0 comments
Open

Comments

@vroad
Copy link

vroad commented Nov 21, 2020

Is your feature request related to a problem? Please describe.

My app's image is based on laradock php-fpm image, and is built with GitHub actions.

Instead of installing PHP extensions on every app build, I built laradock image with extensions installed on forked laradock repo, and using it in my app's CI to minimize build time. Final docker image contains both app code and php extensions, eliminating the need to build anything on production server.

I don't think building docker-compose on every deploy is practical. Instead I run pre-built docker image on Amazon ECS.

Currently it's not possible to trigger build by updating base Dockerfile, because only latest-7.4 image is kept up to date. This is also needed to run dependabot on my repos.

Describe the solution you'd like

Push immutable tag to Docker Hub, not only latest-${PHP_VERSION} tag.

Describe alternatives you've considered

Doing base image build on schedule?

Additional context

Why is only latest tag kept up to date? 2.7 tag is there but outdated. Is my usecase not supported?

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

No branches or pull requests

1 participant