Skip to content

Commit

Permalink
change to docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kashu-02 committed Jul 16, 2024
1 parent 350d4ad commit 1b0425f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ jobs:
- name: Upload binary
run: |
rsync -vhz /tmp/${{ github.sha }}.tar server:~/
ssh server 'docker load --input ${{ github.sha }}.tar && rm ${{ github.sha }}.tar && docker stop $(docker ps -q) && docker run -d --restart always -p 8000:8000 ${{ steps.docker-image.outputs.imageid }}'
ssh server 'docker load --input ${{ github.sha }}.tar && rm ${{ github.sha }}.tar && docker stop $(docker ps -q) && docker run -d --restart always -p 8000:8000 ${{ steps.docker-meta.outputs.tags }}'

0 comments on commit 1b0425f

Please sign in to comment.