Skip to content

Container Build Engine #2

@mrjamiek

Description

@mrjamiek

Hello,

I ended up getting this to work with a little tweak to the tagging. ✌️

com.github.Snakdy.container-build-engine:
    dockercfg: true
    command: container-build-engine
    args:
      - build
      - --image={{ .Image.Name }}
      {{- range $i, $e := .Tags }}
      - --tag={{ $e }} 
      {{- end }}
      {{- range $i, $e := .ExtraArgs }}
      - {{ $e }}
      {{- end }}
# Gets evaluated as:
container-build-engine build  \
--image=registry.com/group/project/ImageName  \
--tag=7186c76df373c7eb58cbd765b41751b354df0962  \
--tag=7186c76d  \
--tag=latest  \
--tag=main  \
--tag=main-7186c76-1717452330  \
--config=pipeline-ordered.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions