Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fivlao authored Jan 7, 2024
1 parent 892ee7e commit 94fc951
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- name: Build Docker image
run: |
printf "%s\n" "${{ secrets.PRIVATE_KEY }}" > id_rsa.pem
chmod 600 id_rsa.pem
cat id_rsa.pem
docker build . -f ./Dockerfile -t fivlao/sound:latest-dev
docker save fivlao/sound:latest-dev | ssh -o StrictHostKeyChecking=no -i "id_rsa.pem" -C ${{ secrets.EC2_USERNAME }}@${{ secrets.EC2_HOST }} sudo docker load

0 comments on commit 94fc951

Please sign in to comment.