Files
run-on-arch-action/node_modules
Elijah Shaw-Rutschman af230f8ec2 New input parameters, various improvements
* `githubToken`: Your GitHub token, used for caching Docker images in your project's public package registry. Usually this would just be `${{ github.token }}`. This speeds up builds and is highly recommended.
* `env`: Environment variables to propagate to the container. YAML, but must begin with a | character. These variables will be available in both run and setup.
* `shell`: The shell to run commands with in the container. Default: `/bin/sh` on Alpine, `/bin/bash` for other distros.
* `dockerRunArgs`: Additional arguments to pass to `docker run`, such as volume mappings. See [`docker run` documentation](https://docs.docker.com/engine/reference/commandline/run).
* `setup`: Shell commands to execute on the host before running the container, such as creating directories for volume mappings.

Other changes:

* Rename `additionalArgs` -> `dockerRunArgs` for clarity
* Rename `architecture` -> `arch`, `distribution` -> `distro` for brevity
* Add unit tests for all the inputs, run unit tests in a matrix against multiple distros/archs
* Fix Alpine (`/bin/bash` doesn't exist because BusyBox, must use `/bin/sh`)
* Improved docs and updated examples
* Passing the `run` commands inline to `docker run` was causing issues depending on the script's contents. That is fixed by instead placing `run` commands in a script file.
2020-09-05 13:33:26 -05:00
..
2019-09-28 21:37:13 +02:00