Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
28
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
3b2d47b1
Commit
3b2d47b1
authored
1 year ago
by
Amelia Yukii
Browse files
Options
Downloads
Patches
Plain Diff
Update file .gitlab-ci.yml
parent
2811f4cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-2
5 additions, 2 deletions
.gitlab-ci.yml
with
5 additions
and
2 deletions
.gitlab-ci.yml
+
5
−
2
View file @
3b2d47b1
...
...
@@ -41,14 +41,17 @@ getImageTag:
tag="$CI_COMMIT_TAG"
elif test "$CI_COMMIT_BRANCH" == "stable"; then
tag="latest"
version="$(cat package.json | jq -r '.version'), stable"
elif test "$CI_COMMIT_BRANCH" == "develop"; then
tag="develop"
version=$(cat package.json | jq -r '.version')
else
tag="$CI_COMMIT_BRANCH"
fi
version=$(cat package.json | jq -r '.version')
version=$(cat package.json | jq -r '.version')
fi
-
echo "REGISTRY_PUSH_TAG=$tag" >> build.env
-
echo "REGISTRY_PUSH_VERSION=$version" >> build.env
artifacts
:
reports
:
dotenv
:
build.env
...
...
This diff is collapsed.
Click to expand it.
Ghost User
@ghost
mentioned in commit
ad881850
·
1 year ago
mentioned in commit
ad881850
mentioned in commit ad8818508f3941c33fab182ee8274ac26ff003a1
Toggle commit list
Ghost User
@ghost
mentioned in commit
0e13397d
·
1 year ago
mentioned in commit
0e13397d
mentioned in commit 0e13397db759d78a17c6b1693608f4707e3b9829
Toggle commit list
Ghost User
@ghost
mentioned in commit
4c811685
·
1 year ago
mentioned in commit
4c811685
mentioned in commit 4c8116859c0f2f17e46cf986fe7b95c223340fc6
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment