SIOS-Technology-Inc / dacrane

"Dacrane" is a Delivery as Code (DaC) tool for deploying cloud infrastructures and applications anywhere.
Apache License 2.0
61 stars 1 forks source link

Implement Docker build and push functions #1

Closed t-ikeda-sti closed 1 year ago

t-ikeda-sti commented 1 year ago

User Story

Developers build their own applications and store them in the repository. The repository is prepared in advance.

Acceptance Criteria

Design & Specification

The dacrane.yaml file should read as follows

kind: artifact
name: api
provider: docker
parameters:
  image: sample-api
  tag: latest
  dockerfile: ./Dockerfile
  repository:
    url: url
    user: user
    password: password

The build command builds a container image with local docker.

$ dacrane build [artifact]

The “publish" command publishes a container image to the specific registry. Container images must be built.

$ dacrane publish [artifact]

The “list” command displays a list of container image versions.

$ dacrane search versions [artifact]

The “unpublish” command removes the specific container image version from the local and remote registry.

$ dacrane unpublish [artifact]
t-ikeda-sti commented 1 year ago

implemented.