Skip to content

Attempt to fix publish action #2

Attempt to fix publish action

Attempt to fix publish action #2

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
publish-docker-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}

Check failure on line 16 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build . --tag ghcr.io/sown/kmibot:latest
docker run ghcr.io/sown/kmibot:latest
docker push ghcr.io/sown/kmibot:latest