Skip to content

Commit

Permalink
Fix SSH key path in CI workflow for secure image transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rippanda12 committed Oct 31, 2024
1 parent 600ba47 commit 4a1a23f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
- name: Send image to release job
run: |
echo "$SSH_KEY" > /tmp/.ssh/deploy_key
chmod 600 /tmp/.ssh/deploy_key
scp -i /tmp/.ssh/deploy_key -o StrictHostKeyChecking=no out/*.iso "$RELEASE_VM:/images/"
echo "$SSH_KEY" > /tmp/deploy_key
chmod 600 /tmp/deploy_key
scp -i /tmp/deploy_key -o StrictHostKeyChecking=no out/*.iso "$RELEASE_VM:/images/"
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
RELEASE_VM: ${{ secrets.RELEASE_VM }}
Expand Down

0 comments on commit 4a1a23f

Please sign in to comment.