redhat-actions / buildah-build

GitHub Action to use 'buildah' to build a container image.
https://github.com/marketplace/actions/buildah-build
MIT License
136 stars 35 forks source link

[QUESTION] Is `containerfiles` attribute supposed to be paths in relative to the path declared in `context` attribute? #134

Open runlevel5 opened 3 months ago

runlevel5 commented 3 months ago

Question

Well I have a Containerfile which resides in a subfolder ./my_app, for docker-compose spec file I simply declare the context: ./my_app and dockerfile: Containerfile. However for buildah-build action, I have to declare the full path for containerfiles: ./my_app/Containerfile. That behaviour caught me by surprise... so wondering if such decision is deliberate or simply it is just an oversight from the onset. Many thanks

lehmanju commented 2 months ago

Can confirm, it's unintuitive in my opinion.