Skip to content

Commit

Permalink
ci(fix): lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn0wye committed Jul 6, 2024
1 parent e2a777c commit 1bbf17d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
run: docker build -t ghcr.io/Sn0wye/caho-api:$GITHUB_SHA .
run: docker build -t ghcr.io/sn0wye/caho-api:$GITHUB_SHA .

- name: Tag Docker image (SHA Tag)
run: docker tag ghcr.io/Sn0wye/caho-api:$GITHUB_SHA ghcr.io/Sn0wye/caho-api:$GITHUB_SHA
run: docker tag ghcr.io/sn0wye/caho-api:$GITHUB_SHA ghcr.io/sn0wye/caho-api:$GITHUB_SHA

- name: Tag Docker image (Latest Tag)
run: docker tag ghcr.io/Sn0wye/caho-api:$GITHUB_SHA ghcr.io/Sn0wye/caho-api:latest
run: docker tag ghcr.io/sn0wye/caho-api:$GITHUB_SHA ghcr.io/sn0wye/caho-api:latest

- name: Push Docker image to GitHub Container Registry (SHA Tag)
run: docker push ghcr.io/Sn0wye/caho-api:$GITHUB_SHA
run: docker push ghcr.io/sn0wye/caho-api:$GITHUB_SHA

- name: Push Docker image to GitHub Container Registry (Latest Tag)
run: docker push ghcr.io/Sn0wye/caho-api:latest
run: docker push ghcr.io/sn0wye/caho-api:latest

- name: SSH and Deploy
uses: appleboy/ssh-action@master
Expand All @@ -43,4 +43,4 @@ jobs:
key: ${{ secrets.SERVER_SSH_KEY }}
passphrase: ${{ secrets.SERVER_PASSPHRASE }}
script: |
./caho/scripts/deploy.sh caho-api $GITHUB_SHA ghcr.io/Sn0wye/caho-api
./caho/scripts/deploy.sh caho-api $GITHUB_SHA ghcr.io/sn0wye/caho-api

0 comments on commit 1bbf17d

Please sign in to comment.