Skip to content
Snippets Groups Projects
Commit c5d68139 authored by Arie Peterson's avatar Arie Peterson
Browse files

Merge branch '66-variables-sh-uses-too-long-branch-names-sometimes' into 'master'

Resolve "variables.sh uses too long branch names sometimes."

Closes #66

See merge request openappstack/wordpress-helm!31
parents d6ffe670 20680712
No related branches found
No related tags found
1 merge request!31Resolve "variables.sh uses too long branch names sometimes."
# Set the docker image tag to the current branch: # Set the docker image tag to the name of the current branch.
dockerTag=$(git rev-parse --abbrev-ref HEAD) # Shortened to 63 bytes because Gitlab does the same with the `CI_COMMIT_REF_SLUG`
# variable, which we use in the CI script to build the docker image.
dockerTag=$(git rev-parse --abbrev-ref HEAD | cut -b "-63")
# Only get the number from the issue (or whatever is in front of a dash # Only get the number from the issue (or whatever is in front of a dash
# otherwise) for the release name # otherwise) for the release name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment