Update .gitlab-ci.yml file
This commit is contained in:
parent
34ffa27360
commit
b65507745b
@ -66,7 +66,7 @@ Nexus Upload:
|
||||
image: registry.knecon.com/knecon/devops/build-image:latest
|
||||
script:
|
||||
- |-
|
||||
export VERSION=$(cat Chart.yaml | grep "^version:" | sed 's/^version: \(.*\)$/\1/g')-$CI_PIPELINE_IID
|
||||
export VERSION=$(cat Chart.yaml | grep "^version:" | sed 's/^version: \(.*\)$/\1/g')
|
||||
sed -s "s/^version: .*$/version: $VERSION/g" -i Chart.yaml
|
||||
- uploadFile=$( helm package . | awk 'NF>1{print q $NF}' )
|
||||
# - curl -s -u "${CI_NEXUS_USER}:${CI_NEXUS_PASSWORD}" "${CI_NEXUS_ADDRESS}:443/repository/red-dev/" --upload-file $uploadFile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user