Files
pull-request-action/Dockerfile

18 lines
660 B
Docker
Raw Normal View History

2019-01-31 18:56:56 -05:00
FROM debian:jessie-slim
2019-02-01 13:02:19 -05:00
# docker build -t vanessa/pull-request-action .
2019-01-31 18:56:56 -05:00
LABEL "com.github.actions.name"="Pull Request on Branch Push"
LABEL "com.github.actions.description"="Create a pull request when a branch is created or updated"
LABEL "com.github.actions.icon"="activity"
LABEL "com.github.actions.color"="yellow"
2019-02-01 13:11:33 -05:00
RUN apt-get update && apt-get install -y jq curl wget git
2019-02-01 13:02:19 -05:00
RUN wget https://github.com/github/hub/releases/download/v2.8.4/hub-linux-amd64-2.8.4.tgz && \
tar -xzvf hub-linux-amd64-2.8.4.tgz
ENV PATH ${PATH}:/hub-linux-amd64-2.8.4/bin
2019-01-31 18:56:56 -05:00
COPY pull-request.sh /pull-request.sh
RUN chmod u+x /pull-request.sh
2019-01-31 19:01:24 -05:00
ENTRYPOINT ["/pull-request.sh"]