Title: Replace runtime Dockerfile modification with build arguments
Labels: enhancement, good-first-issue, docker
Problem:
The workflow modifies Dockerfiles at runtime using sed to inject the base image:
- name: Set FROM and as in Dockerfile
run: |
sed -i '1i FROM ${{ env.BASE_IMAGE}} as ${{ inputs.image }}'