From 868935f8a03d373dae4d3b682f42d2d6592eb5fe Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 27 Jun 2019 17:11:36 +0200 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3e36a0f28..f3d66d569 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,6 +21,7 @@ variables: - name: versionGHR value: 'v0.12.1' - group: github + - group: hassos jobs: @@ -92,6 +93,10 @@ jobs: workspace: clean: 'all' steps: + - script: | + echo -e "-----BEGIN CERTIFICATE-----\n$(releaseCertificate)\n-----END CERTIFICATE-----" > cert.pem + echo -e "-----BEGIN PRIVATE KEY-----\n$(releaseKey)\n-----END PRIVATE KEY-----" > key.pem + displayName: 'Add release PKI certs' - script: | sudo docker build -t hassos:azure . displayName: 'Build container for HassOS'