Skip to content

ci: add version to reuseable workflow #2

ci: add version to reuseable workflow

ci: add version to reuseable workflow #2

Workflow file for this run

---
on:
workflow_call:
inputs:
arch:
required: true
type: string
jobs:
needs: check

Check failure on line 11 in .github/workflows/docker-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build docker image
run: docker build -t lmi-img:latest -f docker/Dockerfile_${{ inputs.arch }} .
- name: Get binary from docker container
run: |
docker create --name lmi lmi-img:latest
docker cp lmi:/root/.cargo/bin/lilypond-midi-input lilypond-midi-input_${{ inputs.arch }}
- uses: actions/upload-artifact@v3
with:
name: lmi-${{ inputs.arch }}
path: |
lilypond-midi-input_${{ inputs.arch }}
changelog