CI/CD adjustment
This commit is contained in:
parent
bd75455f93
commit
8a5b732d13
@ -18,13 +18,13 @@ stages:
|
||||
- docker:dind
|
||||
before_script:
|
||||
- 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:
|
||||
extends: .base
|
||||
stage: build
|
||||
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"
|
||||
|
||||
test:linter:
|
||||
|
Loading…
Reference in New Issue
Block a user