Skip to content
Snippets Groups Projects
Commit e5b84281 authored by Carina Antunes's avatar Carina Antunes
Browse files

Update .gitlab-ci.yml

parent f55e3b61
No related branches found
No related tags found
1 merge request!226Update .gitlab-ci.yml
Pipeline #6440743 passed
......@@ -24,6 +24,7 @@ environment:
case "$CI_COMMIT_BRANCH" in
v*) export TAG="${CI_COMMIT_BRANCH}-RELEASE-${DATE}" ;;
master) export TAG="${CI_COMMIT_BRANCH}-RELEASE-${DATE}" ;;
"") echo TAG="$(git for-each-ref | grep "$CI_COMMIT_SHORT_SHA" | grep origin | sed "s/.*\///")-RELEASE-${DATE}" ;;
*) export TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHORT_SHA}" ;;
esac
- wget --no-check-certificate https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64 -O /yq && chmod +x /yq
......@@ -45,6 +46,7 @@ environment:
reports:
dotenv: env.env
build-sitebuilder:
<<: *build_image
stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment