Skip to content

Test Build Dev

Test Build Dev #3

Workflow file for this run

name: Build Dev Branches
on:
workflow_dispatch:
push:
branches-ignore:
- main
paths:
- 'games/**'
jobs:
push:
name: "games:${{ steps.extract_branch.outputs.branch_name }}"

Check failure on line 13 in .github/workflows/dev-branchs.yml

View workflow run for this annotation

GitHub Actions / Build Dev Branches

Invalid workflow file

The workflow is not valid. .github/workflows/dev-branchs.yml (Line: 13, Col: 11): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.extract_branch.outputs.branch_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: ./games/${{ github.event.ref }}
file: ./games/${{ github.event.ref }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/sturdystubs/games:${{ steps.extract_branch.outputs.branch_name }}