Update .gitlab-ci.yml

This commit is contained in:
Sebastian Hugentobler 2022-02-14 08:11:13 +00:00
parent f4f7b53081
commit ab3f101c1b

View File

@ -1,5 +1,5 @@
variables: variables:
CI_REGISTRY_IMAGE: thallian/confd-env CONTAINER_NAME: thallian/confd-env
build: build:
stage: build stage: build
@ -13,9 +13,9 @@ build:
/kaniko/executor /kaniko/executor
--context "$CI_PROJECT_DIR" --context "$CI_PROJECT_DIR"
--dockerfile "$CI_PROJECT_DIR/Dockerfile" --dockerfile "$CI_PROJECT_DIR/Dockerfile"
--destination "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA" --destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
--destination "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" --destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME"
--destination "$CI_REGISTRY_IMAGE:latest" --destination "$CONTAINER_NAME:latest"
downstream: downstream:
stage: .post stage: .post