Script that generates a new ANY form "package"
Create a script that generates a new ANYK form "package" in the repo. It must run on Linux. You can also include a Windows script too but it is not neccessary. It should not have "big" dependencies, so no Node scripts for example.
Inputs are:
-
form: name of the form -
url: url for the ANYK form on https://nav.gov.hu/
It must add these files:
-
anyk-<form>/Dockerfile- don't forget to set the input url in the Dockerfile -
anyk-<form>/docker-compose.yml
It must modify these files:
-
.github/workflows/build.yml- add the new package to the steps -
.github/workflows/publish.yml- add the new package to the steps
Now that https://github.com/Res42/anyk-docker/pull/43 has been merged this issue needs a new description or some rethinking if a script is needed or not. Maybe just some documentation on how to create a new form docker image?
I think a short guide should be enough in README on how to create a new YAML, naming scheme, and add it to update-check.yml and READMEs.