3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
20 HELM_EXPERIMENTAL_OCI: 1
25 - apt-get update && apt-get install -y curl tar gzip
26 - curl -LO https://get.helm.sh/helm-v3.15.1-linux-amd64.tar.gz
27 - tar -zxvf helm-v3.15.1-linux-amd64.tar.gz
28 - mv linux-amd64/helm /usr/local/bin/helm
31 - helm dep update installers/helm/osm/
32 - helm package installers/helm/osm/
33 - echo $CI_JOB_TOKEN | helm registry login $CI_REGISTRY --username gitlab-ci-token --password-stdin
34 - helm push osm-*.tgz oci://$CI_REGISTRY/osm/devops