diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c780014ad1..e3ebf4a29f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -141,6 +141,24 @@ jobs: run: | git config --global user.name "edgelessci" git config --global user.email "edgelessci@users.noreply.github.com" + - name: Login to Azure + uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1 + with: + creds: ${{ secrets.CONTRAST_CI_INFRA_AZURE }} + - uses: nicknovitski/nix-develop@a2060d116a50b36dfab02280af558e73ab52427d # v1.1.0 + with: + arguments: ./contrast-main# + - name: Create justfile.env + working-directory: contrast-main + run: | + cat < justfile.env + container_registry=${{ env.container_registry }} + azure_resource_group=${{ env.azure_resource_group }} + EOF + - name: Get credentials for CI cluster + working-directory: contrast-main + run: | + just get-credentials - name: Create docs release if: inputs.kind == 'minor' working-directory: contrast-main/docs