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

[FEATURE] Make --squash argument optional #138

Open
picsel2 opened this issue Apr 26, 2024 · 0 comments · May be fixed by #139
Open

[FEATURE] Make --squash argument optional #138

picsel2 opened this issue Apr 26, 2024 · 0 comments · May be fixed by #139
Labels
enhancement New feature or request

Comments

@picsel2
Copy link

picsel2 commented Apr 26, 2024

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

When building "from scratch" this action always squashes all layers including those from the base image.
This is undesirable for me since it prevents efficient reuse of the base layers.

Describe the solution you'd like

A simple boolean input parameter that allows to disable squashing.

Describe alternatives you've considered

None other.

Additional context

One problem might be, that such a flag might be also desirable for Containerfile based builds.
From the looks it seems to me that Containerfile builds are not squashed at the moment, while scratch builds currently always squash.
So deciding for a common default behaviour will break either one or the other method.

@picsel2 picsel2 added the enhancement New feature or request label Apr 26, 2024
@picsel2 picsel2 linked a pull request Apr 26, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant