cicada icon indicating copy to clipboard operation
cicada copied to clipboard

[Feature Request] Set image to a local docker file

Open grant0417 opened this issue 1 year ago • 0 comments

The image field should support support a local Dockerfile like docker compose

Proposed syntax:

import { Job, Pipeline } from "https://deno.land/x/cicada/lib.ts";

const job = new Job({
  image: {
    build: {
      context: ".",
      dockerfile: "Dockerfile",
    }
  },
  steps: [
    "echo 'Hello World!"
  ]
});

export default new Pipeline([job]);

grant0417 avatar Apr 05 '23 20:04 grant0417