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