cirocosta / estaleiro

building container images with bill of materials
Apache License 2.0
2 stars 0 forks source link

gateway: configuration of custom `estaleiro.hcl` filename #16

Closed cirocosta closed 5 years ago

cirocosta commented 5 years ago

oh, it turns out that we already support this:

                buildctl-daemonless.sh build \
                    --progress plain \
                    --frontend gateway.v0 \
                    --opt source=cirocosta/estaleiro \
                    --opt filename=s3-resource.hcl \
                    --opt build-arg:ref=$(cd ./s3-resource && git rev-parse HEAD) \
                    --local context=. \
                    --local dockerfile=.

is an example where we change the name of the configuration file to s3-resource.hcl.