feat: move to /read endpoint and attempt to remove images from build #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI for GHCR | |
on: push | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy using ssh | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
key: ${{ secrets.PRIVATE_KEY }} | |
port: 22 | |
script: | | |
cd ~/bilingualmanga && git pull && git status | |
echo "${{ secrets.GH_PAT }}" | docker login --username louismollick --password-stdin ghcr.io | |
docker build . --no-cache --tag ghcr.io/louismollick/bilingualmanga:latest | |
docker push ghcr.io/louismollick/bilingualmanga:latest |