Skip to content
Code-Schnipsel Gruppen Projekte
Commit b79d5b36 erstellt von Paul Patolla's avatar Paul Patolla
Dateien durchsuchen

refactor

Übergeordneter 1c862fe3
Branches
Tags
Keine zugehörigen Merge Requests gefunden
Pipeline-Nr. 3801 fehlgeschlagen
......@@ -72,9 +72,9 @@ prep_ionos_registry:
artifacts: true
rules:
- if: $CI_COMMIT_TAG
# before_script:
script:
before_script:
- echo "$IONOS_REGISTRY_PASSWORD" | buildah login -u "$IONOS_REGISTRY_USERNAME" --password-stdin $IONOS_REGISTRY_HOST
script:
- buildah build -t $IONOS_REGISTRY_HOST/$IMAGE_TAG -t $IONOS_REGISTRY_HOST/$IMAGE_TAG_LATEST --pull -f ./deploy/Dockerfile .
- buildah push "$IONOS_REGISTRY_HOST/$IMAGE_TAG"
- buildah push "$IONOS_REGISTRY_HOST/$IMAGE_TAG_LATEST"
......@@ -92,6 +92,7 @@ deploy_ionos:
- if: $CI_COMMIT_TAG
before_script:
- export KUBECONFIG=$IONOS_KUBERNETES_CONNECTOR
- kubectl get pods
- kubectl create secret docker-registry ionosregistry --docker-server=$IONOS_REGISTRY_HOST --docker-username=$IONOS_REGISTRY_USERNAME --docker-password=$IONOS_REGISTRY_PASSWORD --docker-email=$IONOS_REGISTRY_MAIL
script:
- kubectl apply -f ./deploy/deployment.yaml
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bitte registrieren oder zum Kommentieren