0.0.4 • Published 6 years ago
@andy9775/gat v0.0.4
GAT - GitHub Actions Tools
A set of helpers for building composable GitHub actions
Installation
When building a GitHub Action start with:
# 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" ]