From 33a183d2514ea764aa4b313f329ae100f00c8c66 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 6 Sep 2023 23:29:33 +0200 Subject: [PATCH] FIX: repositioned ca certificate --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2e6489c..70ad90f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,7 +23,8 @@ steps: commands: - scripts/setupEnvironment.sh - export TEA_URL=`curl -L https://gitea.com/gitea/tea/releases/latest | grep -e "tea.*linux-amd64\"" | cut -d '"' -f 6` - - buildah bud --build-arg TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-amd64" --arch amd64 . + - cp /etc/ssl/certs2/federationHQ-CA.pem . + - buildah bud --build-arg ORG_CA_FILE=federationHQ-CA.pem --build-arg TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-amd64" --arch amd64 . - buildah push --all registry.cloud.federationhq.de/tea:latest-amd64 --- kind: pipeline @@ -51,7 +52,8 @@ steps: commands: - scripts/setupEnvironment.sh - export TEA_URL=`curl -L https://gitea.com/gitea/tea/releases/latest | grep -e "tea.*linux-arm64\"" | cut -d '"' -f 6` - - buildah bud TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-arm64" --arch arm64 . + - cp /etc/ssl/certs2/federationHQ-CA.pem . + - buildah bud --build-arg ORG_CA_FILE=federationHQ-CA.pem --build-arg TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-arm64" --arch arm64 . - buildah push --all registry.cloud.federationhq.de/tea:latest-arm64 --- kind: pipeline