add new custom docker image helm-utilities
This commit is contained in:
+3
-7
@@ -1,4 +1,7 @@
|
||||
default:
|
||||
image:
|
||||
- name: registry.gitlab/next-gen-portal/infra-custom-images/helm-utilities:latest
|
||||
entrypoint: [""]
|
||||
tags:
|
||||
- docker
|
||||
|
||||
@@ -26,17 +29,12 @@ variables:
|
||||
GITEA_USERNAME: "gitea_admin"
|
||||
GITEA_REPO: "oci://${GITEA_HOST}/${GITEA_USERNAME}/helm"
|
||||
|
||||
.helm_image: &helm_image
|
||||
name: alpine/helm:3.14.0
|
||||
entrypoint: [""]
|
||||
|
||||
# Only run publish jobs on the main branch
|
||||
.main_only: &main_only
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
|
||||
package_chart:
|
||||
stage: package
|
||||
image: *helm_image
|
||||
script:
|
||||
- helm repo add st-common "${COMMON_PROJECT_URL}" --username "$CI_REGISTRY_USER" --password "$CI_JOB_TOKEN" --ca-file "$GITLAB_CRT"
|
||||
- helm dependency build .
|
||||
@@ -49,7 +47,6 @@ package_chart:
|
||||
|
||||
publish_chart:
|
||||
stage: publish
|
||||
image: alpine/curl:8.14.1
|
||||
script:
|
||||
- |
|
||||
curl --fail-with-body --request POST \
|
||||
@@ -64,7 +61,6 @@ publish_chart:
|
||||
push_chart_to_gitea:
|
||||
extends: .openbao-with-secrets
|
||||
stage: publish
|
||||
image: *helm_image
|
||||
|
||||
id_tokens:
|
||||
OPENBAO_ID_TOKEN:
|
||||
|
||||
Reference in New Issue
Block a user