Skip to content

Commit

Permalink
feat(taskfile): split lines in dist:image commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Icikowski committed Dec 18, 2022
1 parent 678c98b commit ef41cc5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit ef41cc5

Please sign in to comment.