From 326714c5354b628dc01cfc57583484d6c992056e Mon Sep 17 00:00:00 2001 From: DeveloperDurpBot Date: Sun, 9 Apr 2023 20:19:57 +0000 Subject: [PATCH] ci: render Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/832222307 --- pipelines/build-container.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/build-container.yml b/pipelines/build-container.yml index 1673957..c2e6a51 100644 --- a/pipelines/build-container.yml +++ b/pipelines/build-container.yml @@ -2,7 +2,7 @@ stages: - versioning - build version: - image: ubuntu:latest + image: ruby:latest stage: versioning script: - if [ -z "$VERSION" ]; then @@ -11,7 +11,7 @@ version: - export COMMIT_COUNT=$(git rev-list --count HEAD) - export BUILD_NUMBER=$CI_PIPELINE_ID - export VERSION="$VERSION.$COMMIT_COUNT.$BUILD_NUMBER" - - echo $VERSION > version.env + - echo "VERSION=$VERSION" > version.env - cat version.env # End of version-number.sh artifacts: