feat: add docker build detection#409
Conversation
c342010 to
5515ab0
Compare
|
@timyarkov It would be good if we have a description of the feature's behaviors in the PR's description whenever a new feature is developed. It could really help us with reviewing the code changes.
|
My bad, have updated it with more details, hopefully that is enough? |
No worries. That's great. Thanks for that. |
5515ab0 to
60aec9f
Compare
|
Please rebase on staging. Hopefully this PR would prevent this issue from happening again. |
60aec9f to
3aa14b4
Compare
13de6fc to
33d4595
Compare
c5ab096 to
7664721
Compare
Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
7faa11b to
f9c267d
Compare
Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
f9c267d to
82ca3df
Compare
This PR adds support for the detection of Dockerfiles, so as to cover scenarios where Docker gets used as a build tool. * Docker presence is detected by finding files either named Dockerfile or in the formats *.Dockerfile or Dockerfile.* to cover different naming conventions of dockerfiles, e.g. dev.Dockerfile or like Macaron's own Dockerfile.base and Dockerfile.final. This is defined in defaults.ini under [builder.docker] * The supported build command keyword is build, and supported deploy command keyword is push, defined in defaults.ini under [builder.docker] *For CI deploy commands the GitHub action docker/build-push-action is supported, defined in defaults.ini under [builder.docker.ci.deploy] Signed-off-by: Tim Yarkov <timdyarkov@gmail.com>
This PR adds support for the detection of Dockerfiles, so as to cover scenarios where Docker gets used as a build tool, e.g. when Macaron gets built using its Dockerfile.
Dockerfileor in the formats*.DockerfileorDockerfile.*to cover different naming conventions of dockerfiles, e.g.dev.Dockerfileor like Macaron's ownDockerfile.baseandDockerfile.final. This is defined indefaults.iniunder[builder.docker]build, and supported deploy command keyword ispush, defined indefaults.iniunder[builder.docker]defaults.iniunder[builder.docker.ci.deploy]To do from here: