swagger part 1
This commit is contained in:
@@ -21,7 +21,6 @@ tasks:
|
||||
docker build \
|
||||
--build-arg "GIT_VERSION={{.GIT_VERSION}}" \
|
||||
--build-arg "GIT_COMMIT={{.GIT_COMMIT}}" \
|
||||
--cache-from {{.IMAGE_NAME}}:latest \
|
||||
--build-arg BUILDKIT_INLINE_CACHE=1 \
|
||||
-t {{.IMAGE_NAME}}:latest \
|
||||
-t {{.IMAGE_NAME}}:{{.GIT_VERSION}} \
|
||||
|
||||
@@ -61,6 +61,7 @@ tasks:
|
||||
cmds:
|
||||
- task deps:tidy
|
||||
- task docker:build
|
||||
- task docker:build:debug
|
||||
- task: build
|
||||
- task: down
|
||||
- task: up:cmd
|
||||
@@ -138,3 +139,9 @@ tasks:
|
||||
- task: lint:cmd
|
||||
vars:
|
||||
COMPOSE_FILE: "{{.TEST_COMPOSE_FILE}}"
|
||||
rebuild:
|
||||
desc: "Force complete rebuild of all containers (use when build cache causes issues)"
|
||||
cmds:
|
||||
- go clean -cache
|
||||
- docker rmi {{.IMAGE_NAME}}:latest {{.IMAGE_NAME}}:debug || true
|
||||
- task: refresh
|
||||
|
||||
Reference in New Issue
Block a user