[damned-lies] fix: use kind of image in building production environmnent
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] fix: use kind of image in building production environmnent
- Date: Tue, 10 May 2022 08:30:02 +0000 (UTC)
commit a6bdca35c952ff809adb740e514e1cdcdeeaa761
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Mon May 9 15:06:22 2022 +0200
fix: use kind of image in building production environmnent
.gitlab-ci.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 767e2d14..03481f06 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,14 +52,14 @@ variables:
# References for the build script
CURRENT_VCS_REF_NAME: "${CI_COMMIT_REF_NAME}"
BUILT_IMAGE_NAME: "damned-lies-production:${CI_COMMIT_REF_NAME}"
- IMAGE_TAG: "${CI_REGISTRY_IMAGE}/damned-lies-production:${CI_COMMIT_REF_NAME}-latest"
+ IMAGE_TAG: "${CI_REGISTRY_IMAGE}/damned-lies-production:${CI_COMMIT_REF_NAME}"
KIND_OF_IMAGE: "production"
script:
- dnf install -y python3-jinja2-cli
- ./containers/production/render_configuration_templates.sh "${KIND_OF_IMAGE}"
- ./containers/production/build_buildah_production.sh "${KIND_OF_IMAGE}"
- - buildah tag "${BUILT_IMAGE_NAME}-${KIND_OF_IMAGE}" "${IMAGE_TAG}"
- - buildah push "${IMAGE_TAG}"
+ - buildah tag "${BUILT_IMAGE_NAME}-${KIND_OF_IMAGE}" "${IMAGE_TAG}-${KIND_OF_IMAGE}"
+ - buildah push "${IMAGE_TAG}-${KIND_OF_IMAGE}"
after_script:
- mv containers/production/${KIND_OF_IMAGE} configuration
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]