From a003c9a4ee527457360f350b6d4c27aee8e2065d Mon Sep 17 00:00:00 2001 From: Ilia Medvedev Date: Tue, 2 Jul 2024 14:35:46 +0300 Subject: [PATCH] fix pipeline --- codefresh.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codefresh.yaml b/codefresh.yaml index f0a5b22..d3ef1dc 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -13,7 +13,7 @@ stages: steps: preapre_env: - title: "Export image tag" + title: "Prepare variables" type: freestyle stage: prepare image: alpine @@ -58,7 +58,7 @@ steps: builder: driver_opts: "image=moby/buildkit:v0.14.1" cache_from: - - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v1-${{CF_BRANCH_TAG_NORMALIZED_LOWER_CASE}} + - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v1-${{IMAGE_TAG}} - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v1-main when: steps: @@ -81,7 +81,7 @@ steps: builder: driver_opts: "image=moby/buildkit:v0.14.1" cache_from: - - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v2-${{CF_BRANCH_TAG_NORMALIZED_LOWER_CASE}} + - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v2-${{IMAGE_TAG}} - ghcr.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:v2-main when: steps: