Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jun 20, 2024
1 parent cbe9545 commit 5fb640f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,24 @@ jobs:
run: |
git config --global user.name "edgelessci"
git config --global user.email "[email protected]"
- 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 <<EOF > 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
Expand Down Expand Up @@ -187,7 +205,10 @@ jobs:
working-directory: contrast-main
run: |
tmpdir=$(mktemp -d)
cp workspace/{coordinator.yml,runtime.yml,emojivoto-demo.zip} "$tmpdir"
cp workspace/{coordinator.yml,runtime.yml} "$tmpdir"
mkdir -p "$tmpdir/deployment"
unzip workspace/emojivoto-demo.zip -d "$tmpdir/deployment"
chmod +x result-cli/bin/contrast
./tools/asciinema/generate-screencasts.sh --demodir="$tmpdir" --bin=$(pwd)/result-cli/bin/contrast
- name: Commit updated asciinema screencast
if: inputs.kind == 'minor'
Expand Down

0 comments on commit 5fb640f

Please sign in to comment.