Compare commits
No commits in common. "ccfe99996f4b1779a1c9a263dd655df0be2bdb4e" and "421be9ab2e314672fbcaf16eac4915f9f5601e7c" have entirely different histories.
ccfe99996f
...
421be9ab2e
1 changed files with 2 additions and 13 deletions
|
@ -10,19 +10,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Push image
|
- uses: docker/build-push-action@v6
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
context:
|
context:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
docker.atomaka.com/budget:latest
|
docker.atomaka.com/budget:fake
|
||||||
docker.atomaka.com/budget:${{gitea.sha}}
|
|
||||||
- name: Deploy to server
|
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.SSH_HOST }}
|
|
||||||
username: ${{ secrets.SSH_USERNAME }}
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
script: |
|
|
||||||
docker pull docker.atomaka.com/budget:latest
|
|
||||||
docker restart budget
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue