Skip to content

Fixes CI to log into the GitHub container registry. #2

Fixes CI to log into the GitHub container registry.

Fixes CI to log into the GitHub container registry. #2

name: Build and Publish Image
on:
push:
branches: ["trunk"]
pull_request:
branches: ["trunk"]
jobs:
builds:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v3
with:

Check failure on line 16 in .github/workflows/build-and-publish-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-publish-image.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: ./bootstrap.sh