Skip to content

Commit

Permalink
wip: move deploy docker image into build action
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarpovich committed Aug 21, 2022
1 parent 1f34050 commit 2689cfc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-poems-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'playlist-synchronizer': patch
---

Move deploy docker image into build action
9 changes: 9 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ jobs:
docker buildx build --push \
--platform linux/amd64,linux/arm/v7,linux/arm64 \
-t ${image_name}:${TAG_NAME} -t ${image_name}:latest .
- name: multiple command
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd ./playlist-synchronizer && docker compose pull playlist-synchronizer && docker compose up -d playlist-synchronizer
19 changes: 0 additions & 19 deletions .github/workflows/update-docker-image.yml

This file was deleted.

0 comments on commit 2689cfc

Please sign in to comment.