Skip to content

update workflow repo owner tag #2

update workflow repo owner tag

update workflow repo owner tag #2

Workflow file for this run

name: Build and Push Container Image
on:
push:
branches:
- main
- fix-workflow
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner | toLower }}/arxivchatguru:${{ github.ref == 'refs/heads/main' && 'latest' || 'canary' }}

Check failure on line 32 in .github/workflows/container-image.yml

View workflow run for this annotation

GitHub Actions / Build and Push Container Image

Invalid workflow file

The workflow is not valid. .github/workflows/container-image.yml (Line: 32, Col: 15): Unexpected symbol: '|'. Located at position 25 within expression: github.repository_owner | toLower