Skip to content

Commit

Permalink
release: move deployments folder
Browse files Browse the repository at this point in the history
  • Loading branch information
wirungu committed Apr 22, 2024
1 parent fee6526 commit 1b8a5ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ jobs:
echo "coordinatorImgTagged=${front}:${{ inputs.version }}@${back}" | tee -a "$GITHUB_ENV"
- name: Create file with image replacements
run: |
echo "$container_registry/contrast/coordinator:latest=$coordinatorImgTagged" > image-replacements.txt
echo "$container_registry/contrast/initializer:latest=$initializerImg" >> image-replacements.txt
echo "ghcr.io/edgelesssys/contrast/coordinator:latest=$coordinatorImgTagged" > image-replacements.txt
echo "ghcr.io/edgelesssys/contrast/initializer:latest=$initializerImg" >> image-replacements.txt
- name: Create portable coordinator resource definitions
run: |
mkdir -p workspace
nix run .#scripts.write-coordinator-yaml -- "${coordinatorImgTagged}" > workspace/coordinator.yml
nix run .#scripts.write-emojivoto-demo -- "./image-replacements.txt" > workspace/emojivoto-demo.yml
zip -r workspace/emojivoto-demo.zip workspace/emojivoto-demo.yml
nix run .#scripts.write-emojivoto-demo -- "./image-replacements.txt" > deploynments/emojivoto-demo.yml
zip -r deployments/emojivoto-demo.zip deployments/emojivoto-demo.yml
- name: Update coordinator policy hash
run: |
yq < workspace/coordinator.yml \
Expand All @@ -228,7 +228,7 @@ jobs:
files: |
result-cli/bin/contrast
workspace/coordinator.yml
workspace/emojivoto-demo.zip
deployments/emojivoto-demo.zip
- name: Reset temporary changes
run: |
git reset --hard ${{ needs.process-inputs.outputs.WORKING_BRANCH }}
Expand Down

0 comments on commit 1b8a5ba

Please sign in to comment.