Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

[Feature Request] Set image to a local docker file #4

Open
grant0417 opened this issue Apr 5, 2023 · 0 comments
Open

[Feature Request] Set image to a local docker file #4

grant0417 opened this issue Apr 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@grant0417
Copy link
Contributor

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 grant0417 added the enhancement New feature or request label Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant