CI/CD adjustment
This commit is contained in:
parent
bd75455f93
commit
8a5b732d13
@ -18,13 +18,13 @@ stages:
|
|||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
- docker --version
|
- docker --version
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_JOB_TOKEN" "$CI_REGISTRY/$CI_PROJECT_PATH"
|
||||||
|
|
||||||
build:builder:
|
build:builder:
|
||||||
extends: .base
|
extends: .base
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --target dependancies -t "$IMAGE_TEST"
|
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from "$IMAGE_DEPENDANCY" --target dependancies -t "$IMAGE_DEPENDANCY" .
|
||||||
- docker push "$IMAGE_DEPENDANCY"
|
- docker push "$IMAGE_DEPENDANCY"
|
||||||
|
|
||||||
test:linter:
|
test:linter:
|
||||||
|
Loading…
Reference in New Issue
Block a user