diff --git a/tasks/dist.yaml b/tasks/dist.yaml index 0a40fc6..24305b5 100644 --- a/tasks/dist.yaml +++ b/tasks/dist.yaml @@ -8,4 +8,12 @@ tasks: desc: Build a Docker image dir: container cmds: - - docker build ../../src --file Containerfile --tag {{ .image_tag }} --build-arg version={{ .GIT_TAG }} --build-arg gitCommit={{ .GIT_COMMIT }} --build-arg buildTime={{ .BUILD_TIME }} --label org.opencontainers.image.version={{ .GIT_TAG }} --label org.opencontainers.image.created={{ .BUILD_TIME }} + - | + docker build ../../src \ + --file Containerfile \ + --tag {{ .image_tag }} \ + --build-arg version={{ .GIT_TAG }} \ + --build-arg gitCommit={{ .GIT_COMMIT }} \ + --build-arg buildTime={{ .BUILD_TIME }} \ + --label org.opencontainers.image.version={{ .GIT_TAG }} \ + --label org.opencontainers.image.created={{ .BUILD_TIME }}