Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andy9775/gat

A set of helper tools for building out GitHub Actions
https://github.com/andy9775/gat

bash github-actions nodejs typescript

Last synced: 18 days ago
JSON representation

A set of helper tools for building out GitHub Actions

Awesome Lists containing this project

README

        

# GAT - GitHub Actions Tools

A set of helpers for building composable GitHub actions

## Installation

When building a GitHub Action start with:

```Dockerfile
# source
FROM andy9775/gat as gat
# ================= start of action =================
# any compatible source
FROM alpine
# ============== copy specific helpers ==============
# in this case, copy the environment variable helpers
COPY --from=gat /gat/env/shell /env
RUN /env/setup.sh
# ================= continue action =================
# ...

# execute entrypoint.sh with available env variables
ENTRYPOINT [ "load_env", "/entrypoint.sh" ]
```