Skip to content

Update docker-image.yml #8

Update docker-image.yml

Update docker-image.yml #8

Workflow file for this run

name: Docker Image CI for GHCR
on:
push
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:

Check failure on line 9 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-image.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- uses: actions/checkout@v3
- name: Build and push the image
run: |
docker login --username outerwinnie --password ${{ secrets.GH_PAT }} ghcr.io
docker build . --tag ghcr.io/outerwinnie/goodreads-discord-bot:latest
docker push ghcr.io/outerwinnie/goodreads-discord-bot:latest