Skip to content

test pr

test pr #1

# Build containers on every PR
# See also container-release.yml
name: Container Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- dockerfile: test/ct-test-srv/Dockerfile
image: ghcr.io/mcpherrinm/ct-test-srv
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build
run: docker buildx . -f "${{ matrix.image }}" -t "${{ image }}"

Check failure on line 31 in .github/workflows/container-build.yml

View workflow run for this annotation

GitHub Actions / Container Build

Invalid workflow file

The workflow is not valid. .github/workflows/container-build.yml (Line: 31, Col: 14): Unrecognized named-value: 'image'. Located at position 1 within expression: image