Another CI/CD change
This commit is contained in:
parent
50a30a8a34
commit
71563f316d
@ -32,7 +32,7 @@ build:sourceCode:
|
|||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --cache-from "$IMAGE_BUILD" --target builder -t "$IMAGE_BUILD" .
|
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --cache-from "$IMAGE_BUILD" --target builder -t "$IMAGE_BUILD" .
|
||||||
- docker push "$IMAGE_DEPENDANCY"
|
- docker push "$IMAGE_BUILD"
|
||||||
|
|
||||||
## ADD TEST CASES BELOW ##
|
## ADD TEST CASES BELOW ##
|
||||||
test:linter:
|
test:linter:
|
||||||
@ -48,5 +48,5 @@ deploy:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
needs: ["test:linter"]
|
needs: ["test:linter"]
|
||||||
script:
|
script:
|
||||||
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --cache-from "$IMAGE_BUILD" -t "$IMAGE_DEPLOY" .
|
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --cache-from "$IMAGE_BUILD" -t "$IMAGE_FINAL" .
|
||||||
- docker push "$IMAGE_FINAL"
|
- docker push "$IMAGE_FINAL"
|
Loading…
Reference in New Issue
Block a user