Skip to content

Commit

Permalink
fixed certificator to be built with rest of microservices
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorsch committed May 12, 2023
1 parent abc342a commit 0edf34f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ build_images:
/kaniko/executor --context ./ --dockerfile deploy/docker/base/Dockerfile --destination ${CI_REGISTRY_PREFIX}/f7t-base:${CI_COMMIT_SHORT_SHA} --cleanup
# Core microservices
for img in compute reservations status storage tasks utilities; do
for img in certificator compute reservations status storage tasks utilities; do
/kaniko/executor --build-arg BASE_IMAGE=${CI_REGISTRY_PREFIX}/f7t-base:${CI_COMMIT_SHORT_SHA} --registry-mirror ${CI_REGISTRY} \
--context ./ --dockerfile deploy/docker/$img/Dockerfile --destination ${CI_REGISTRY_PREFIX}/$img:${CI_COMMIT_SHORT_SHA} --cleanup
done
if [ "$CI_COMMIT_TAG" != "" ]; then exit 0; fi
# Certificator separated since its base image is different (centos:7)
/kaniko/executor --context ./ --dockerfile "deploy/docker/certificator/Dockerfile" \
--destination "${CI_REGISTRY_PREFIX}/certificator:${CI_COMMIT_SHORT_SHA}" --cleanup
# /kaniko/executor --context ./ --dockerfile "deploy/docker/certificator/Dockerfile" \
# --destination "${CI_REGISTRY_PREFIX}/certificator:${CI_COMMIT_SHORT_SHA}" --cleanup
# build web client
/kaniko/executor --context src/tests/template_client --dockerfile ./Dockerfile \
Expand Down

0 comments on commit 0edf34f

Please sign in to comment.